Add docker to tools

This commit is contained in:
Wilfried OLLIVIER 2019-01-29 14:14:23 +01:00
parent 433f2b421d
commit 3551de7862
2 changed files with 10 additions and 0 deletions

View file

@ -16,5 +16,6 @@
- [Shell Tips](./ops/shelltips.md) - [Shell Tips](./ops/shelltips.md)
- [Tools](./ops/tools/main.md) - [Tools](./ops/tools/main.md)
- [Ansible](./ops/tools/ansible.md) - [Ansible](./ops/tools/ansible.md)
- [Docker](./ops/tools/docker.md)
- [MongoDB](./ops/tools/mongodb.md) - [MongoDB](./ops/tools/mongodb.md)
- [OpenSSL](./ops/tools/openssl.md) - [OpenSSL](./ops/tools/openssl.md)

9
src/ops/tools/docker.md Normal file
View file

@ -0,0 +1,9 @@
# Docker
## Inspect
### Get container ip
```shell
docker container inspect --format='{{range .NetworkSettings.Networks }}{{ .IPAddress }}{{ end }}' upbeat_babbage
```