Reputation: 94
My Vagrantfile
is is set to run a docker image we will call gitlab/gitlab-ce
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.provision "docker" do |d|
d.run "gitlab/gitlab-ce"
end
end
Running vagrant provision
gives me:
Unable to find image 'gitlab/gitlab-ce' locally
Why can it not find my gitlab/gitlab-ce
locally?
When I do a docker ps -a
I see that gitlab/gitlab-ce
is up and running just fine
Upvotes: 0
Views: 753
Reputation: 1872
Because docker ps
lists active containers not images. You need to use a publicly available image or run
docker images
To see images available and built on your machine
Upvotes: 1