Advertisement
PandaAcademy

Network - ćwiczenie

Feb 2nd, 2024
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. docker run -itd --name default1 -p 1000:80 nginx
  2. docker run -itd --name default2 -p 1001:80 nginx
  3.  
  4. docker run -itd --name host1 -p 2000:80 --network host nginx
  5. docker run -itd --name host2 -p 2001:80 --network host nginx
  6.  
  7. docker run -itd --name panda1 -p 3000:80 --network panda_network nginx
  8. docker run -itd --name panda2 -p 3001:80 --network panda_network nginx
  9.  
  10. docker run -itd --name none1 -p 4000:80 --network none nginx
  11. docker run -itd --name none2 -p 4001:80 --network none nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement