/dockerdemo

A simple public docker image for testing

Primary LanguageDockerfileMIT LicenseMIT

dockerdemo

A simple and smol public docker image for testing

run the image from dockerhub:

docker run cruisercoder/dockerdemo

build the image:

docker build -t demo .

run the image locally from local git checkout

docker run demo

run in interactive mode with bash

docker run -it demo /bin/bash

run in interactive mode with bash and the current working directory mounted in /data

docker run -it -v ${PWD}:/data demo /bin/bash

push to dockerhub:

docker push cruisercoder/dockerdemo

This image will appear at this URL:

https://hub.docker.com/r/cruisercoder/dockerdemo