Questions tagged [docker-machine]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

How to set PID limit for containers in kubernetes

I have used docker-bench-security on one of the kube-node to check best practices, I found one warning that PID limit is not set on containers. So Please provide a solution that how do I set PID limit ...
0
votes
0answers
12 views

Docker external network affecting local host network on container restart : ERR_NETWORK_CHANGED

I am facing a weird issue with the docker networks. I am using an external network of bridge type named extenal_network in my docker containers with auto-restart enabled. I am not able to access my ...
0
votes
0answers
24 views

What are the benefits of running a docker container inside a VM vs running docker containers on host?

I have 5 HP DL380 g{8,9} in a datacenter and run many services like some web servers, Galera clusters, GlusterFS, some convert and streaming services, Haproxy, etc. All of them are deployed on KVM VMs ...
1
vote
0answers
528 views

Axios in a Node.js container on Kubernetes is returning “ECONNREFUSED 127.0.0.1:30561”?

Full error message: connect ECONNREFUSED 127.0.0.1:30561 at TCPConnectWrap.afterConnect The axios request is running in a Node.js environment (Next.js), which is where the error occurs, strangely the ...
0
votes
1answer
31 views

dpkg throws an error when regenerating certs of my instance on AWS

I'm trying to regenerate certs for my instance on AWS through Docker-Machine as I do need to do it quite often for some reason. All of the sudden I'm getting this error after running docker-machine ...
0
votes
2answers
151 views

Can't create EC2 instance with Keypairs for ssh access

I am trying to launch a new EC2 instance with docker installed on it on AWS. Later on I need to ssh into this instance. I can create it without a problem doing: docker-machine create --driver ...
0
votes
1answer
306 views

Access docker machine on LAN Computers

I had a virtual machine with Ubuntu which is installed inside windows 10 host and accessible to all pcs in LAN using its IP address. Inside Ubuntu I'm running the docker containers within docker-...
0
votes
0answers
62 views

Connecting to docker-engine on remote mac using docker-machine

I have a MacMini that is sitting in the server room which has a docker for mac running on it. I'm able to use docker directly on the machine when I ssh in just fine. $ docker --version ...
0
votes
1answer
76 views

How can I configure unix:///var/run/docker.sock to point to a remote host?

I know I can build and run a container on a remote host with Docker Machine, but some tools I'm using have built-in reliance on unix:///var/run/docker.sock, so even if I run eval $(docker-machine env ...
0
votes
0answers
16 views

How to specify default daemon options for docker-machine?

I want docker machine to provision docker with log rotation enabled by default: { "tls": true, ... "log-driver": "json-file", "log-opts": { "max-size": "10m", "max-...
1
vote
1answer
331 views

Make docker client in VM to attach to docker daemon on the host

How can I get Docker Client on a Windows Server 2019 VM to attach to the Docker Engine on the host machine that is using Linux containers in a Moby VM? My setup is like below: (A) Windows 10 (B) ...
1
vote
0answers
26 views

Kitematic (docker) - pointing to a host on a docker-machine?

I am using kitematic but when i launch it on MacOS it shows my local docker installation. Via the command line - i can use docker by first doing docker-machine env remote-mac How can I have ...
0
votes
1answer
3k views

Trying to redirect a docker container to another through nginx

As the title say trying to reverse proxy. Using an app with port 500 inside container with port exposed for 5000. The nginx is on another container with port 80 exposed and publish to 8080. Both ...
2
votes
1answer
465 views

Is it possible to start a docker-machine at macOS (Server) boot?

Now that Apple is dropping certain services in Server.app (postfix, dovecot, DNS, to name a few) it is important to find solutions to keep these running. Apple suggests moving to open source versions, ...
0
votes
1answer
517 views

How to remotely deploy Docker services on an existing Digital Ocean droplet?

I've got a docker-compose.yml file which defines 3 services: MySQL db, ASP.NET Core api application and Angular application. The last two images are built locally, not pulled from a remote repository. ...
3
votes
2answers
13k views

Docker + Nginx + PHP-FPM error: [emerg] 1#1: host not found in upstream [closed]

I have a docker setup for LEMP stack that I cloned from this repo. Everything works nicely on my development machine running window 10, but when I push the image to docker hub and pull it on my VPS ...
0
votes
1answer
330 views

Windows and WSL docker-machine conflict

I have a windows 10 and I installed the WSL ubuntu 18.04 inside. Since the WSL can't use the docker due to virtualization, i ends up use my DigitalOcean droplet as my docker machine target. I follow ...
1
vote
0answers
84 views

Docker-machine and Google Compute Engine: GPUs?

Looking at the docs for the GCE driver for Docker Machine, it seems that it's not possible to spawn a machine that has a GPU attached. In contrast to AWS, where there are specific machine types that ...
3
votes
1answer
240 views

docker-machine with “generic” driver: security concerns

I want to use docker-machine to deploy containers on a Debian 9 server from my local computer. I followed instructions from this page, which clearly indicates: If you are using « sudo » on the ...
0
votes
0answers
104 views

Docker Swarm Mesh not working on mixed Win7 / Linux cluster

I've got a mixed Docker Swarm Cluster with Linux machines and Win7 machines running VirtualBox via NAT (bridged option is not allowed). Win7 Win7 | | (port forwarding on ...
0
votes
1answer
459 views

how docker handles high availability

Coming from a VMware environment, my through process was that, Multiple Docker machines (swarm), mount the same NFS data stores A container (e.g. Maria dB) is deployed on the Docker swarm If a node ...
0
votes
1answer
35 views

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 ...
1
vote
1answer
1k views

Elasticsearch docker container unable to curl outside container

Launching a container using docker run -it -p 9200:9200 -p 9300:9300 elasticsearch /local/elasticsearch/bin/elasticsearch: line 184: hostname: command not found [2018-01-31T07:13:47,062][INFO ][o.e.n....
0
votes
2answers
1k views

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 ...
0
votes
1answer
505 views

Unable to curl Nginx rhel docker container

Dockerfile: FROM registry.access.redhat.com/rhel WORKDIR /usr/src RUN yum-config-manager --save --setopt=rhel-7-server-rt-beta-rpms.skip_if_unavailable=true # Install Nginx Repository RUN yum ...
0
votes
1answer
791 views

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 ...
2
votes
0answers
339 views

Find out CPU and memory usage percent of Docker container within its running environemt

Does anyone know how to get resource consumption of a specific Docker container within its running environment? Outside of a container, we can get it easily by typing a command "docker stats". ...
0
votes
1answer
2k views

Docker networking IPv6 exposed

I'm running a small arm board providing some services within our local network. As I try to understand the ipv6 support of docker, I am quite confused about the results of my first tests. My network ...
0
votes
1answer
277 views

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 ...
7
votes
1answer
850 views

Understanding the Difference Between DNS Resolvers

Intro In the attempt to debug a networking issue local to our intranet, it became apparent that curl host nslookup and dig behave differently. Where dig and host returns the IP address of the URL in ...
0
votes
1answer
438 views

How much server RAM docker-machine instance needs? [duplicate]

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 ...
0
votes
1answer
390 views

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 running: cchilders:~/...
0
votes
0answers
2k views

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-...
0
votes
2answers
193 views

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: ...
0
votes
1answer
448 views

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 ...
0
votes
1answer
153 views

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 ...
2
votes
1answer
12k views

502 Bad Gateway/ failed (111: Connection refused) while connecting to upstream [duplicate]

I have the following docker-compose xml web: build: nginx/. container_name: nginx ports: - "80:80" links: - "openchain" restart: always wallet: build: wallet/. container_name: ...
1
vote
0answers
527 views

connecting to apache server in docker container (osx and docker-machine) FROM INTERNET

In short, everything works until I try to access my apache server in a docker container from the internet. The incoming packets reach the docker container, but the outgoing packets get dropped by the ...
0
votes
0answers
3k views

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 ...
1
vote
0answers
58 views

Security maintenance on cloud instances created with docker-machine?

After reading about some people's issue with Docker hosts' time going out of sync, I realized that my Docker host on Digital Ocean (created via docker-machine) may want ntp running on it, and that got ...
0
votes
1answer
151 views

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 ...
1
vote
1answer
271 views

Zero downtime deployment with two machines and docker-networking

Is it possible to wire up a small zero downtime deployment (*1) with two Amazon EC2 instances? I'd like to roll my services regularly to a new EC2 instance to avoid manual OS updates on the instances ...
1
vote
2answers
4k views

Tag latest not found in repository docker.io/library/nginx

I am trying to install Docker on my MAC . I am getting the below issue predix-docker xxxxxx $ docker pull nginx Using default tag: latest latest: Pulling from library/nginx 968c69f18673: Pulling ...
0
votes
1answer
127 views

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