-
-
Save dfparker2002/607778d25c78e4a8e332a4608f5eea7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## start docker in debug mode ########## | |
docker -dD | |
####### Remove Docker Image ############ | |
# Get Docker image | |
docker images | |
# Remove image | |
docker rmi <Image ID> | |
#If process is already using this image then run this command and then remove image | |
docker rm $(docker ps -aq) | |
#Remove image | |
######## Change Temp Directory Location ############## | |
vi /etc/sysconfig/docker | |
# Add following data | |
DOCKER_TMPDIR=/export/apps/docker | |
DOCKER_OPTS="-g /export/apps/docker” | |
############ Set Up proxy ################### | |
vi /etc/sysconfig/docker | |
#To add proxy | |
export HTTP_PROXY="<proxy host>:<proxy port>" | |
export HTTPS_PROXY="<proxy host>:<proxy port>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment