cambridge-healthcare / hi_sinatra-docker Goto Github PK
View Code? Open in Web Editor NEWSinatra app ready to be run as a docker container, including Vagrant setup
Sinatra app ready to be run as a docker container, including Vagrant setup
Hi, tried running this from your blog post http://blog.howareyou.com/post/62157486858/continuous-delivery-with-docker-and-jenkins-part
Used current pieces VirtualBox-4.3.28-100309-Win.exe, Oracle_VM_VirtualBox_Extension_Pack-4.3.28-100309.vbox-extpack, vagrant_1.7.2.msi, Git-1.9.5-preview20150319.exe
This is what happened:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Adding box 'ubuntu' (v0) for provider: virtualbox
default: Downloading: http://files.vagrantup.com/precise64.box
default: Progress: 100% (Rate: 577k/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'ubuntu' (v0) for 'virtualbox'!
==> default: Importing base box 'ubuntu'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: hi_sinatra-docker_default_1434409184461_11936
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
default: Adapter 3: hostonly
default: Adapter 4: hostonly
default: Adapter 5: hostonly
default: Adapter 6: hostonly
default: Adapter 7: hostonly
default: Adapter 8: hostonly
default: Adapter 9: hostonly
There was an error while executing VBoxManage
, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["modifyvm", "928e9c53-0b37-4d63-9d33-33623337ea8f", "--nic1", "nat", "--nic2", "hostonly",
"--hostonlyadapter2", "VirtualBox Host-Only Ethernet Adapter #2", "--cableconnected2", "on", "--nic
3", "hostonly", "--hostonlyadapter3", "VirtualBox Host-Only Ethernet Adapter #2", "--cableconnected3
", "on", "--nic4", "hostonly", "--hostonlyadapter4", "VirtualBox Host-Only Ethernet Adapter #2", "--
cableconnected4", "on", "--nic5", "hostonly", "--hostonlyadapter5", "VirtualBox Host-Only Ethernet A
dapter #2", "--cableconnected5", "on", "--nic6", "hostonly", "--hostonlyadapter6", "VirtualBox Host-
Only Ethernet Adapter #2", "--cableconnected6", "on", "--nic7", "hostonly", "--hostonlyadapter7", "V
irtualBox Host-Only Ethernet Adapter #2", "--cableconnected7", "on", "--nic8", "hostonly", "--hoston
lyadapter8", "VirtualBox Host-Only Ethernet Adapter #2", "--cableconnected8", "on", "--nic9", "hosto
nly", "--hostonlyadapter9", "VirtualBox Host-Only Ethernet Adapter #2", "--cableconnected9", "on"]
Stderr: VBoxManage.exe: error: Invalid NIC number 9
VBoxManage.exe: error: Invalid NIC number 9
VBoxManage.exe: error: Invalid NIC number 9
Other Vagrant VMs expose ports to the host OS. I added the following to access the Jenkins UI:
config.vm.forward_port 8080, 8080
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.