Skip to content

Instantly share code, notes, and snippets.

@xydinesh
Created February 3, 2015 20:13
Show Gist options
  • Select an option

  • Save xydinesh/07da7ea5da6485d56e06 to your computer and use it in GitHub Desktop.

Select an option

Save xydinesh/07da7ea5da6485d56e06 to your computer and use it in GitHub Desktop.
Docker command to link two containers and mount volume from source to destination
sudo docker run -ti --name gis -v /opt/hosts:$PWD --link gisbox:gis xydinesh/pg_util /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment