This repository was archived by the owner on Apr 2, 2020. It is now read-only.
Replace Ubuntu with boot2docker. #49
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
I was able to replace the Ubuntu VM with boot2docker (related to #17).
This was possible due to two things...
This also removed the need for Vagrant (#26) as you can just use Virtual Box to mount the shared folder!
Sadly, there are a few issues...
Enter the password 'tcuser' below to mount folders to Docker Virtual Machine
.UnlessThis needs to be done once after starting the VM. There is Streamline SSH access in two lines boot2docker/boot2docker#192 which could be a possible solution.docker-osx destroy
is called, this is a one time thing172.16.42.43
doesn't work with the patched boot2docker. I'm not sure why! Any listings in/etc/hosts
for localdocker should be removed before installing the above.For me, those work around suit my use case of docker.
I think 2 + 3 could possible be improved by vendoring boot2docker script + iso into docker-osx repo.
Here is a terminal recording to get an idea of performance vs vagrant + ubuntu + proof it works :)
Interested to hear thoughts around this!