this time it's docker, was: removing wslview from Ubuntu-only computers?
Keith
keithw at caramail.com
Mon Apr 10 19:23:41 UTC 2023
On 4/10/23 1:37 PM, M. Fioretti wrote:
> Hello all,
>
> I may, lucky me, just have come across another instance of being
>
>> somewhat expected to have inspected what [one is installing] and
>> that they have the in-depth technical knowledge about it ...
>
> At the moment, I do not have docker installed on my Ubuntu 22.04 LTS box.
>
> One hour ago, I got a project for which I have to run on this box an
> application that may only be available as docker container or npm package.
>
> I have already used both systems in the past, getting a BAD taste from
> npm, and no particular problems with docker.
>
> So docker it will be, said I, as the lesser of two evils, and got this:
>
> Command 'docker' not found, but can be installed with:
> sudo snap install docker # version 20.10.17, or
> sudo apt install docker.io # version 20.10.21-0ubuntu1~22.04.2
> sudo apt install podman-docker # version 3.4.4+ds1-1ubuntu1
> See 'snap info docker' for additional versions.
>
> my instinct would be to go with the second option, docker.io
>
> But after seeing in the vslview discussion how deep and full of
> undocumented/unsolved surprises these rabbit holes can be, I am not
> going to choose anything before asking here as many opinions as
> possible.
>
> For me, all I care about is that the installation messes up my system
> as little as possible, and is removable without side effects right
> after that project is finished. Thoughts?
>
> TIA,
> Marco
If you'd like to see what apt/apt-get will do without making changes to
the system, use the "-s" (for simulate) option with the action command
$ sudo apt -s install docker.io
Examine the output and if it looks ok with nothing being installed that
you don't expect to be installed, then remove the "-s" and run the
command again.
When you're finished with the project, run this:
$ sudo apt -s autopurge docker.io
Again, examine the output and if nothing is being removed that you don't
expect to be removed, then run it without the "-s" option.
--
Keith
More information about the ubuntu-users
mailing list