Sign inSign up

nicosingh/rpi-dind

By nicosingh

•Updated over 8 years ago

Docker in Docker image for Raspberry Pi

Image
0

1.0K

nicosingh/rpi-dind repository overview

pipeline status Docker Pulls

⁠About

This raspbian-based image allows you to run docker commands inside a Docker container. It contains the official installation of Docker CE⁠ in a raspbian image (Jessie built on 16 Aug 2017). It is useful to test isolated docker commands, or run Docker-based tools inside a running container (e.g. gitlab runners).

⁠How to run this image?

$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nicosingh/rpi-dind bash

Where:

-it (optional): if we want to execute an interactive container. Use -d if we want to run this image in detached mode.

--rm (optional): if we want to remove the container once it finishes.

-v /var/run/docker.sock:/var/run/docker.sock (optional): if we want to link our local docker socket to this container's one. It's not required if we are going to manually start docker service from the new image (in this case, using --privileged option is a good idea).

nicosingh/rpi-dind: image name.

bash (optional): the command we want to execute. For example, open a Bash terminal.

⁠Source Code

Gitlab: rpi-dind⁠

Tag summary

Content type

Image

Digest

Size

93.7 MB

Last updated

over 8 years ago

docker pull nicosingh/rpi-dind