Build
docker build . -t ${dockerhub}/${imagename}:${version} -f Dockerfile
Run
docker run -it -d --rm --name myservice -p 3333:80 -e \ https_proxy=http://proxyserver your-container-name \
${dockerhub}/${imagename}:${version}
#bind storage
docker run -v my-volume:/path/in/container my-image
docker run -t --rm --name myscript ${dockerhub}/${imagename}:${version} python test_main.py
Push
docker push ${dockerhub}/${imagename}:${version}
Docker cp
docker cp $CONTAINER_NAM:/app/data ./
Docker Exec
docker exec -it ${CONTAINER_NAME} /bin/bash