docker-workshop's People
docker-workshop's Issues
vagrant up fails when mongodb is running on it's default port
Not an issue, per se, but posting here in case anyone else runs into this
~/Code/docker-workshop master
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'smat/docker-workshop' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'smat/docker-workshop'
default: URL: https://vagrantcloud.com/smat/docker-workshop
==> default: Adding box 'smat/docker-workshop' (v1.1.2) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/smat/docker-workshop/version/3/provider/virtualbox.box
==> default: Successfully added box 'smat/docker-workshop' (v1.1.2) for 'virtualbox'!
==> default: Importing base box 'smat/docker-workshop'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'smat/docker-workshop' is up to date...
==> default: Setting the name of the VM: docker-workshop_default_1410195129543_58898
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 27017 is already in use
on the host machine.
To fix this, modify your current projects Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:
config.vm.network :forwarded_port, guest: 27017, host: 1234
Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.
Solved by stopping mongodb. If you installed it with brew do launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
Old Vagrant version (1.4.3) on Ubuntu 14.04 failing on "The box 'smat/docker-workshop' could not be found."
The version of Vagrant in Ubuntu 14.04 is too old to use the new Vagrant Cloud boxes directly in config ("smat/docker-workshop" instead of the old syntax with URLs): https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/1359098
A workaround is to add the box manually. I found the URL at the Vagrant Cloud site.
vagrant box add smat/docker-workshop https://vagrantcloud.com/smat/docker-workshop/version/3/provider/virtualbox.box
Full output:
$ vagrant -v
Vagrant 1.4.3
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* The box 'smat/docker-workshop' could not be found.
$ vagrant box add smat/docker-workshop https://vagrantcloud.com/smat/docker-workshop/version/3/provider/virtualbox.box
Downloading box from URL: https://vagrantcloud.com/smat/docker-workshop/version/3/provider/virtualbox.box
Extracting box...te: 233k/s, Estimated time remaining: --:--:--)
Successfully added box 'smat/docker-workshop' with provider 'virtualbox'!
Then after fixing the port conflict with Mongodb (#1):
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] -- 8888 => 8888 (adapter 1)
[default] -- 27017 => 27018 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Mounting shared folders...
[default] -- /vagrant
No license
There seems to be no license provided for the project. Did you mean to apply standard copyright or should it be more open source?
Seems to be really good material to reuse.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.