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

[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 May 30, 2021: Add default user/pass (a5f1230)