Hi,
does anyone have installed docker on pureOS? if yes, did you only use the one in the official repo of purism which is a bit outdated or did you take the sources or other means?
Thanks in advance
Hi,
does anyone have installed docker on pureOS? if yes, did you only use the one in the official repo of purism which is a bit outdated or did you take the sources or other means?
Thanks in advance
apt install docker.io
gives me a very recent docker. (18.09.1)
That doesn’t have the security fix from a couple weeks back, but it’s quite recent.
I don’t know how to install the official docker-ce packages.
Good to know thanks i didn’t try to look into the pure repo
I just went through this and found that since PureOS is based on Debian, you can follow the instructions in the Docker CE for Debian page with a minor change.
In the “Setup the Repository” section it includes this command:
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
Since PureOS/green isn’t directly supported you need to remove the $(lsb_release -cs)
part and replace it with stretch
. The resulting command is:
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
stretch \
stable"
You can then continue to sudo apt-get update
and sudo apt-get install docker-ce docker-ce-cli containerd.io
. Following that you should be able to run:
$ sudo docker run hello-world
Thanks @fef32! This got me up and running!
(Only change I made was using buster
instead of stretch
.)
I’m trying to install Docker using the Debian instructions, using “stretch”, but I’m getting this error:
The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-9~deb10u1 is to be installed
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Any ideas?
Which version of PureOS are you using? Amber or Byzantium? I ask because for PureOS Byzantium Docker is as easy to install as apt install docker.io
.
We have Docker / Podman images available here: https://hub.docker.com/repositories and https://quay.io/repository/
Unrelated to the Docker issue, I ended up re-installing from scratch, after which Docker installed without problems.
docker.io
from pureos amber yields Docker version 18.09, whereas the instructions from docker web site yield the current version (at the time of this message, version 20.10.5).
In the instructions at https://docs.docker.com/engine/install/debian/, I replaced
$(lsb_release -cs) stable
with
buster stable
and thus far, everything looks okay. If I run into any trouble, I’ll report back here.
Can i please get a step-by-step link? Or could someone maybe write one if it don’t exist out there? Thanks!
edit:
It seems to be running now.
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-11-05 21:30:34 CET; 1h 13min ago
TriggeredBy: â—Ź docker.socket
Docs: https://docs.docker.com