Giter VIP home page Giter VIP logo

Comments (5)

tdensmore avatar tdensmore commented on May 30, 2024 1

@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.

pascalandy avatar pascalandy commented on May 30, 2024

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.

pascalandy avatar pascalandy commented on May 30, 2024

It's worth mentionning that in SCW GUI, the servers are up.

from docker-machine-driver-scaleway.

alpunch avatar alpunch commented on May 30, 2024

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.

pascalandy avatar pascalandy commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.