Comments (5)
@pascalandy It is worth mentioning that in my AWS VPC I ran into the same issue because my instances were ONLY reachable via a private IP (and by default the AWS driver uses the public IP). I had to use the --amazonec2-private-address-only
flag to fix my issue.
from docker-machine-driver-scaleway.
Below is the most basic request and have another kind of issue
~|⇒ docker-machine create -d scaleway my-scaleway-docker-machine
Host already exists: "my-scaleway-docker-machine"
~|⇒ docker-machine create -d scaleway test33
Running pre-create checks...
Creating machine...
(test33) Creating SSH key...
(test33) Creating server...
(test33) Starting server...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "163.172.161.204:2376": dial tcp 163.172.161.204:2376: i/o timeout
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
I desperately want to run a Docker Swarm ... Thank you
from docker-machine-driver-scaleway.
It's worth mentionning that in SCW GUI, the servers are up.
from docker-machine-driver-scaleway.
This doesn't seem to be the issue on Scaleway.
I tested with and without the "--scaleway" parameter and it works.
However, if your issue persist, you might want to deploy from a node inside your private network.
from docker-machine-driver-scaleway.
Now working! This is my template
# docker-machine on scaleway.sh
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### #
#
# --- Define env-var on 3 iTerm2 tabs (local machine)
REG=PAR1
#
NODE_01=N01-$REG
NODE_11=N11-$REG
NODE_12=N12-$REG
#
SCALEWAY_TOKEN="your-token-23g24g34-q3hg345h34h-34h34h34"
SCALEWAY_ORGANIZATION="your-token-23g24g34-q3hg345h34h-34h34h34"
DOCKER_IMAGE="3803a8a7"
SCALEWAY_COMMERCIAL_TYPE="VC1S"
SCALEWAY_REGION="par1"
#
docker-machine ls
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### #
#
# --- To provision. On each iTerm2 tabs, run:
docker-machine create -d scaleway \
--scaleway-region="$SCALEWAY_REGION" \
--scaleway-image="$DOCKER_IMAGE" \
--scaleway-token="$SCALEWAY_TOKEN" \
--scaleway-organization="$SCALEWAY_ORGANIZATION" \
--scaleway-commercial-type="$SCALEWAY_COMMERCIAL_TYPE" \
--scaleway-name="$NODE_01-A" "$NODE_01"
docker-machine create -d scaleway \
--scaleway-region="$SCALEWAY_REGION" \
--scaleway-image="$DOCKER_IMAGE" \
--scaleway-token="$SCALEWAY_TOKEN" \
--scaleway-organization="$SCALEWAY_ORGANIZATION" \
--scaleway-commercial-type="$SCALEWAY_COMMERCIAL_TYPE" \
--scaleway-name="$NODE_11-A" "$NODE_11"
docker-machine create -d scaleway \
--scaleway-region="$SCALEWAY_REGION" \
--scaleway-image="$DOCKER_IMAGE" \
--scaleway-token="$SCALEWAY_TOKEN" \
--scaleway-organization="$SCALEWAY_ORGANIZATION" \
--scaleway-commercial-type="$SCALEWAY_COMMERCIAL_TYPE" \
--scaleway-name="$NODE_12-A" "$NODE_12"
from docker-machine-driver-scaleway.
Related Issues (20)
- START1-XS complains about disk size even though parameter is supplied HOT 12
- Error creating "Ubuntu Bionic ML" instance HOT 5
- Error removing host: server should be running HOT 1
- Driver v2 HOT 1
- Error running provisioning: Failed to obtain lock: Maximum number of retries (60) exceeded HOT 3
- When trying to run `brew tap scaleway/scaleway`: undefined method `cellar' HOT 1
- macos M1 support
- error provisioning machine HOT 18
- docker-machine rm hangs if server doesn't exist
- Default machine image does not exist HOT 3
- tag new version HOT 2
- change default bootscript? HOT 1
- availlable image names HOT 2
- Wrong commercial type HOT 6
- Cannot create new docker machine HOT 1
- Error creating instance, No such bootscript: docker HOT 4
- Error starting plugin binary HOT 1
- Should update brew release
- brew installs version 1.3 -> provisioning errors HOT 2
- Unable to remove a stopped machine HOT 4
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-driver-scaleway.