Technical Diary of a Dummy

Thoughts and Opinions that will live on after they have vacated my brain.

Tips and Tricks Docker -

James Land - 12 May 2021

Build a DockerImage

docker build -t <IMAGE_NAME> .

Start and enter a DockerImage

docker run -it --entrypoint /bin/bash <IMAGE_NAME>

Build Container Image and expose ports

podman build . -t my-container
podman run -p 8080:8080 -p 9000:9000 localhost/my-container:latest
Tags:
docker