Running docker

Running Docker on Mocaccino Desktop

Setup

First install container/docker and systemd-service/dockerd, which provides the systemd service:

1
$ luet install container/docker systemd-service/dockerd

To start dockerd, just:

1
$ systemctl start docker

or to enable at boot:

1
$ systemctl enable docker

Now you should be able to use docker as usual, for example:

1
2
3
4
5
6
7

[email protected]:~# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
[email protected]:~# docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
quay.io/mocaccino/extra   latest              ce197d5b1a7e        3 days ago          21.2MB

Last modified August 3, 2021: Add more samples (dc6b5a0)