Questions tagged [docker-machine]
47 questions
0
votes
1 answer
IP address of the service inside docker
When the application that you run inside docker need the server private and public IP address to communicate, what will be the values of the IP address?
For instance:
If the private and public ip of the server on which the docker container is…

Minisha
- 103
- 3
0
votes
2 answers
Docker Issue - exit status 34
I am facing "exit status 34" while creating docker service. please suggest what is the issue.
Docker version : Docker version 17.09.1-ce, build 19e2cf6
Error Log :nsenter: failed to unshare namespaces: Cannot allocate memory
container_linux.go:265:…

Mayur Jaiswal
- 1
- 1
- 1
0
votes
1 answer
Docker: Virtual machine as worker with its host as manager in swarm
I'm having troubles to find which advertise address the manager should use to work with the following setup:
The problem is that if I use the default options of docker swarm init on the host, I can't get my docker machine to connect to this swarm…

Alexandre Germain
- 117
- 2
- 6
0
votes
1 answer
Docker-machine mess up docker on host
After creating a Ubuntu 16.04 Droplet in Digital Ocean I've tried to connect it with docker-machine from my local machine but the server's docker won't start. I actually attempted in two ways: first with docker installed on the server and the second…

Rinaldi Segecin
- 101
- 2
0
votes
1 answer
How much server RAM docker-machine instance needs?
I have a docker installed at OS X and using docker-machine with my host provider server. The server OS is CoreOS, I have 3 lightweight sites with NGINX, Mongo and MySQL instances. Sometimes sites down and provider's support suggesting me with low…

Vadim Shvetsov
- 115
- 1
- 5
0
votes
1 answer
docker stack wont connect to any container
I am following this tutorial that uses this repository.
and have just run docker stack deploy --compose-file docker-stack.yml vote.
I get output that says the containers are…

codyc4321
- 103
- 5
0
votes
0 answers
Docker sharing /var/run/docker.sock when deploying through Docker Machine
I've been trying to deploy my containers using Docker Machine and Docker Compose. I am running a Windows 10 with docker for windows v1.12.5.
When i start my configuration i run the following:
docker-machine env my-machine
& "C:\Program…

Maxim
- 105
- 3
0
votes
2 answers
Browser services' container in Docker Swarm mode
I've created 3 vm using docker-machine:
docker-machine create -d virtualbox manager1
docker-machine create -d virtualbox worker1
docker-machine create -d virtualbox worker2
these are theirs ip:
docker-machine ls
NAME ACTIVE DRIVER …

pier92
- 21
- 5
0
votes
1 answer
how to keep my docker container up running?
I'm running all my application code inside a docker container and I'm using Jenkins to build. So it takes 2 to 3 hours to run the build and it creates the zip files inside the docker container and I'm copying that zip files to the server. So once…

Tanuj Chinnu
- 1
- 1
0
votes
1 answer
Regex path to pass through proxy
I have the following location directive in a dockerized machine
server {
listen 80;
location ~* ^/openchain/ {
rewrite ^/openchain/(.*) /$1 break;
proxy_pass http://0.0.0.0:8080;
…

Kendall
- 247
- 2
- 4
- 13
0
votes
0 answers
gitlab-runner with docker+machine (to AWS) not working
I have a question regarding gitlab-runner, docker+machine and AWS. I have setup gitlab-ce (works great, as usual), and a second server with gitlab-runner.
The gitlab-runner server is configured to use docker+machine which should connect to AWS.…

Peter van Arkel
- 123
- 2
- 6
0
votes
1 answer
Locating docker containers
I've been playing around with various docker and docker-machine tutorials. Here is the docker-machine setup
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
aws-sandbox * …

port5432
- 173
- 2
- 5
- 17
0
votes
1 answer
HA Swarm cluster with docker-machine
I have a Swarm cluster which currently only has a single master. So far the whole thing has been deployed using docker-machine. I have another node that I would like to use as another master.
When I use the following command I essentially create…

chriscowley
- 523
- 4
- 17
0
votes
1 answer
Python throws KeyError when exporting environment variables
I have a weird case where i have a secret.env file where i set all my environment variables as such:
secret.env
export TWITTER_CONSUMER_KEY="something"
export TWITTER_CONSUMER_SECRET="something"
Then i built a docker file to export all the…

Mervin Hemaraju
- 115
- 4
- 14
0
votes
1 answer
Docker, How to make published ports unreachable from outside the host?
Used Docker version: 19.03.12
When I map a port in the container to a port on the Docker host, this port is automatically accessible to the outside, although the iptables default policy is set to drop.
But the mapped port should only be available…

DerFlo129
- 11
- 1