This is an old revision of the document!
Docker Quick-n-Dirty
List Containers
docker ps --format "\nDocker Details \nID:{{.ID}} \nNames: {{.Names}} \nCommand: {{.Command}}" --no-trunc
Test Connection From Inside Container
Example
docker run --rm --init -it alpine sh -c "apk add --update --no-cache netcat-openbsd && timeout 5s nc -v 172.16.60.14 514"