Docker Development Environment
Made for netPI, the Open Edge Connectivity Ecosystem
Debian with SSH, Docker and Git as container development environment
The image provided hereunder deploys a container with installed Docker and Git to be used as container development environment.
For remote login to the container across SSH the container's SSH port
22 needs to be mapped to any free netPI host port.
Only the privileged mode option lifts the enforced container limitations to allow usage of Docker in a container.
STEP 1. Open netPI's landing page under
https://<netpi's ip address>.
STEP 2. Click the Docker tile to open the Portainer.io Docker management user interface.
STEP 3. Enter the following parameters under Containers > Add Container
Host "22" (any unused one) -> Container "22"
Restart policy" :
Runtime > Privileged mode :
STEP 4. Press the button Actions > Start container
Pulling the image from Docker Hub may take up to 5 minutes.
The container starts the SSH service and the Docker daemon automatically.
Login to it with an SSH client such as putty using netPI's IP address along with the mapped SSH port. Use the credentials
root as user and
root as password when asked and you are logged in as root.
Use Docker CLI commands as usual.