Comments (5)
I'm testing with -vultr-os-id=160 (buntu 14.04 x64) and --vultr-private-networking=true.
from docker-machine-vultr.
one more test:
docker-machine create --driver vultr --vultr-api-key=myAPIKey --vultr-region-id=7 --vultr-plan-id=29 --vultr-ipv6=1 --vultr-private-networking=1 --engine-env DEV=1 testowa5
Running pre-create checks...
(testowa5) Validating Vultr VPS parameters...
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
Creating machine...
(testowa5) getting client
(testowa5) Creating Vultr VPS...
(testowa5) Using PXE boot
(testowa5) Provisioning RancherOS (stable)
(testowa5) getting client
(testowa5) getting client
(testowa5) Waiting for IP address to become available...
(testowa5) Created Vultr VPS ID: 3323436, Public IP: 185.92.221.191, Private IP: 10.99.0.12
Waiting for machine to be running, this may take a few minutes...
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
(testowa5) getting client
Machine is running, waiting for SSH to be available...
Detecting operating system of created instance...
Detecting the provisioner...
Provisioning with rancheros...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
(testowa5) getting client
Docker is up and running!
To see how to connect Docker to this machine, run: docker-machine env testowa5
[root@vultr ~]# docker-machine ssh testowa5
(testowa5) getting client
[rancher@testowa5 ~]$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 5A:00:00:1E:4E:C6
inet6 addr: fe80::5800:ff:fe1e:4ec6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:396 (396.0 B) TX bytes:1439 (1.4 KiB)
[rancher@testowa5 ~]$ hostname
testowa5
from docker-machine-vultr.
Auto-configuration of private network interface eth1 is already implemented. But only for machines that are created with the default RancherOS. For Ubuntu machines you can actually pass a Cloud-init userscript with the --vultr-userdata
parameter.
Then you just have to write a bash script that configures the private interface.
Something similar to this (not tested):
#!/bin/sh
cat > /etc/network/interfaces <<EOF
auto eth1
iface eth1 inet static
address 10.99.0.200
netmask 255.255.0.0
mtu 1450
EOF
ifup eth1
Pozdro 😄
from docker-machine-vultr.
there is still some issue with autoconfiguration of rancheros. See my second test with default os.
pozdro.
from docker-machine-vultr.
This has been fixed in https://github.com/janeczku/docker-machine-vultr/releases/tag/v1.0.3.
Auto-configuration of private network interface eth1
is fully working again with RancherOS.
from docker-machine-vultr.
Related Issues (20)
- I often received "Could not get lock /var/lib/dpkg/lock" error while creating docker host HOT 7
- Failed to create Vultr host as the Public IP of the server became '0.0.0.0' HOT 11
- Invoking vultr boot scripts HOT 3
- Unable to query docker version: Cannot connect to the docker engine endpoint HOT 5
- The default plan `93` is deprecated HOT 1
- docker-machine create not compatible with VULTR firewall HOT 1
- Docker machine fails to create multiple servers at the same time HOT 6
- Debian based distros no longer finish provisioning HOT 1
- CentOS 7 no longer provisions correctly HOT 1
- How can I deploy a Docker Application on Vultr?
- How to add an already provisioned machine?
- Make this go get'able
- Deploying a RancherOS cluster (Docker Swarm Mode)
- ssh never becomes available HOT 6
- Should we try to do a PR with your code to docker-machine to be an official provider? HOT 2
- Download link in main Readme points to old version
- Creating docker machine hangs on 'Waiting machine to be running' HOT 6
- How to build an i386 binary? HOT 1
- Vultr SSH key with ID doesn't exist during creation in docker machine HOT 1
- RancherOS - Doesn't work at all HOT 2
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.
from docker-machine-vultr.