Running docker

Running Docker on Mocaccino Micro

Setup

First install container/docker, or directly runit-srv/docker, which provides the runit service:

1
$ luet install runit-srv/dockerd

To start dockerd, just:

1
$ runit-start dockerd

or to enable at boot:

1
$ runit-enable dockerd

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

1
2
3
4
5
6
7

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

Last modified April 7, 2024: Update gaming (5003bda)