How to run from source code vagrant up && vagrant ssh cd /vagrant docker build -t username/imagename . docker run username/imagename How to run from the image on docker index docker pull keisatou/centos-solr https://index.docker.io/u/keisatou/centos-solr/