Skip to content

Instantly share code, notes, and snippets.

@BrianRosamilia
Created March 23, 2016 23:07
Show Gist options
  • Save BrianRosamilia/a506274987331f267783 to your computer and use it in GitHub Desktop.
Save BrianRosamilia/a506274987331f267783 to your computer and use it in GitHub Desktop.
::Be sure 27017, 389 are forwarded inside Vagrantfile
::vagrant init williamyeh/ubuntu-trusty64-docker
vagrant up
vagrant ssh -- 'docker run --restart=always -d -p 27017:27017 mongo:3.0'
vagrant ssh -- 'docker run --restart=always -d -p 389:389 -e SLAPD_PASSWORD=mysecretpassword -e SLAPD_DOMAIN=ldap.example.org dinkel/openldap'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment