how to build docker image
docker build <Dockerfile path> -t image-name
docker build . -t tag-service:v1 // -t flag is for tag name that you want to give
how to build docker image
docker build <Dockerfile path> -t image-name
docker build . -t tag-service:v1 // -t flag is for tag name that you want to give
docker build image
docker build --tag hello .
docker create
docker create [options] IMAGE
-a, --attach # attach stdout/err
-i, --interactive # attach stdin (interactive)
-t, --tty # pseudo-tty
--name NAME # name your image
-p, --publish 5000:5000 # port map
--expose 5432 # expose a port to linked containers
-P, --publish-all # publish all ports
--link container:alias # linking
-v, --volume `pwd`:/app # mount (absolute paths needed)
-e, --env NAME=hello # env vars
how to build a docker image
sudo docker build -t flaskmongo . --no-cache
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us