Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 命令整理 #38

Open
wzhanjun opened this issue Apr 28, 2020 · 1 comment
Open

docker 命令整理 #38

wzhanjun opened this issue Apr 28, 2020 · 1 comment
Labels

Comments

@wzhanjun
Copy link
Owner

docker 网络命令

  • 查看docker中存在的网络:

     docker network ls
    
  • 查看bridge网络的详细配置:

     docker network inspect bridge
    
  • 创建了一个名为"my-net"的网络

    docker network create my-net 
    
  • 将Web服务加入my-net网络中

    docker network connect my-net test_demo  
    
  • 断开容器与docker0的连接

     docker network disconnect bridge test_demo   
    
@wzhanjun
Copy link
Owner Author

windows 将docker-destop 存储文件移出C盘放置到其它目录

https://segmentfault.com/a/1190000038912621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant