docker container run --network mynet --name postgres --rm -d postgres:9.6.6-alpine docker container run --network mynet -it --rm --link postgres:pg alpine:latest ping postgres ping pg