Vagrant 1.9.2
Windows 10
Ubuntu 16
tag --name should replace ':' with something else
It's creating a bug when we run docker.run "rabbitmq:3.6.12" because : is not allowed for --name
docker: Error response from daemon: Invalid container name (rabbitmq:3.6.12), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.
Currently, to solve this I should set auto_assign_name to false
Please provide the relevant minimum Vagrantfile so that we can try to reproduce your bug. Thanks!
config.vm.provision "mongodb_start", run: "always", type: "docker" do |d|
d.run "mongo:3.5.13",
args: "-p 27020:27017",
#auto_assign_name: false (Uncomment this would be my current setting to make it work)
end
That should be it :)
Thanks @imam !
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Thanks @imam !