Is useful to create network-share containers. For using
--net container:<id|name> the target container have to be present. For loose coupling we create a dummy container and map other containers to it. The dummy container have to hang forever and not quit.
FROM alpine:3.2 # here we simply need to hang eternally # maybe bash has better way of doing it CMD while true; do sleep 1000; done