How To: Install Docker in Ubuntu Using Snap
Docker
One of the advantages snap package manager brings to Ubuntu is support for multiple versions of same software available and installable simultaneously. For example, you can decide if you want to run the stable or latest (edge) version of Docker.
Before You Install Docker with Snap
Apparently, snap model is not fully compatible with Docker right now, this means starting and using docker that you installed via snap is not as simple as you might expect.
Specifically, Docker is no longer maintaining the Docker version so it’s built and supported by Canonical (Ubuntu vendor).
The way I see it: if you just need a hassle free Docker setup, install Docker using apt-get from the official Docker repositories.
Confirm Docker Versions Available via Snap
Running snap info docker will list all the available channels for Docker in snap:
Install Latest (Edge) Version of Docker with Snap
Based on the above, let’s install the latest Docker package version available via edge channel:
Check the Version of Docker We Just Installed
See Also
- Ubuntu 19.04
- Install Docker using apt-get
- Installing Ubuntu 19.04 on Dell XPS 13 laptop
- Debian Linux
Docker
One of the advantages snap package manager brings to Ubuntu is support for multiple versions of same software available and installable simultaneously. For example, you can decide if you want to run the stable or latest (edge) version of Docker.
Before You Install Docker with Snap
Apparently, snap model is not fully compatible with Docker right now, this means starting and using docker that you installed via snap is not as simple as you might expect.
Specifically, Docker is no longer maintaining the Docker version so it’s built and supported by Canonical (Ubuntu vendor).
The way I see it: if you just need a hassle free Docker setup, install Docker using apt-get from the official Docker repositories.
Confirm Docker Versions Available via Snap
Running snap info docker will list all the available channels for Docker in snap:
Install Latest (Edge) Version of Docker with Snap
Based on the above, let’s install the latest Docker package version available via edge channel:
Check the Version of Docker We Just Installed
See Also
- Ubuntu 19.04
- Install Docker using apt-get
- Installing Ubuntu 19.04 on Dell XPS 13 laptop
- Debian Linux