Browse Source

format fixing

master
Markus Bergholz 4 years ago
parent
commit
cfcb3075a8
  1. 6
      til.md

6
til.md

@ -63,11 +63,17 @@ drop all incomming ssh connections
## docker
Delete all containers
* `docker rm $(docker ps -a -q)`
Delete all images
* `docker rmi $(docker images -q)`
Create docker network
* `docker network create mynet`
run two docker `img` container with different names `foo` and `bar` and the can reach each other with domain name `foo` and `bar`
* `docker run --name foo --net mynet img`
* `docker run --name bar --net mynet img`

Loading…
Cancel
Save