Skip to content

Instantly share code, notes, and snippets.

@weiofcn
Last active March 29, 2018 07:51
Show Gist options
  • Save weiofcn/65610c2a5aa44e79e8537abd472627ee to your computer and use it in GitHub Desktop.
Save weiofcn/65610c2a5aa44e79e8537abd472627ee to your computer and use it in GitHub Desktop.
docker

权限

usermod -a -G docker $USER

提交

docker commit -a "weiofcn@gmail.com" -m "first commit" 34dc47734372 weiofcn/ubuntu16.04-add-xxx

上库

docker login --username username --password password

docker tag my-image username/my-repoc

docker push username/my-repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment