Questions tagged [docker-machine]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Move applications and DB to docker or vm

I have one server with one public IP. Apache2 is installed. Mariadb is installed. There are about 50 identical Java applications running on Tomcat on the server. The applications are running on some ...
Kamil Sz's user avatar
1 vote
1 answer
1k views

How could I limit memory and cpu usage in Docker globally

I'm using Docker with Ubuntu in a development environment, but I noticed that docker can use all the resources of the host machine, is there any way I can limit this without having to configure each ...
Ediano Silva Santos's user avatar
0 votes
1 answer
2k views

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="...
Mervin Hemaraju's user avatar
0 votes
1 answer
571 views

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....
DerFlo129's user avatar
0 votes
1 answer
229 views

Docker on OS disk VS docker on dedicated disk

We have 57 rhel servers machines – with version 7.5 The machines have strong HW as 128G memory and 32 CPU , We planed to install docker service on all machines , in order to run couple containers on ...
King David's user avatar
-1 votes
2 answers
341 views

Docker installation on RHEL 7.2 and file system requirement

We have old RHEL machine version 7.2 And we prepare to install docker service on this server The problem is that server's filesystem was created with ftype=0 parametre and docker requires ftype=1 One ...
King David's user avatar
1 vote
1 answer
1k 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 ...
Radheyshyam Sen's user avatar
1 vote
0 answers
272 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 ...
Ankur Mahajan's user avatar
1 vote
0 answers
2k 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 ...
thatguyjono's user avatar
0 votes
1 answer
128 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 ...
Mark's user avatar
  • 1
0 votes
3 answers
1k 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 ...
Micromegas's user avatar
0 votes
1 answer
2k 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-...
Kathak Dabhi's user avatar
0 votes
1 answer
634 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 ...
whobutsb's user avatar
  • 249
1 vote
1 answer
615 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 ...
hamx0r's user avatar
  • 171
1 vote
1 answer
613 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) ...
orad's user avatar
  • 113
1 vote
0 answers
33 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 ...
Ian Gregson's user avatar
0 votes
1 answer
7k 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 ...
Radaeld's user avatar
2 votes
1 answer
1k 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, ...
gctwnl's user avatar
  • 181
0 votes
1 answer
705 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. ...
skal's user avatar
  • 101
7 votes
2 answers
35k 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 ...
samayo's user avatar
  • 287
0 votes
1 answer
605 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 ...
Hans Yulian's user avatar
3 votes
1 answer
233 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 ...
Thomas Wana's user avatar
3 votes
1 answer
342 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 ...
Antwane's user avatar
  • 165
0 votes
0 answers
117 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 ...
Frankie's user avatar
  • 449
0 votes
1 answer
592 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 ...
aristosv's user avatar
  • 147
0 votes
1 answer
87 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 ...
Minisha's user avatar
  • 103
1 vote
1 answer
2k 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....
Shuaib Shaikh's user avatar
0 votes
2 answers
4k 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 ...
Mayur Jaiswal's user avatar
1 vote
1 answer
3k 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 ...
Shuaib Shaikh's user avatar
0 votes
1 answer
1k 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 ...
Alexandre Germain's user avatar
2 votes
0 answers
453 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". ...
John Pekl's user avatar
3 votes
1 answer
5k 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 ...
chrstnwhlrt's user avatar
0 votes
1 answer
355 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 ...
Rinaldi Segecin's user avatar
7 votes
1 answer
3k 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 ...
DanCat's user avatar
  • 225
0 votes
1 answer
741 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 ...
Vadim Shvetsov's user avatar
0 votes
1 answer
530 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:~/...
codyc4321's user avatar
  • 103
0 votes
0 answers
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-...
Maxim's user avatar
  • 105
0 votes
2 answers
267 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: ...
pier92's user avatar
  • 21
0 votes
1 answer
549 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 ...
Tanuj Chinnu's user avatar
0 votes
1 answer
266 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 ...
Kendall's user avatar
  • 247
2 votes
1 answer
20k 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: ...
Kendall's user avatar
  • 247
1 vote
0 answers
686 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 ...
user59553's user avatar
  • 111
0 votes
0 answers
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 ...
Peter van Arkel's user avatar
1 vote
0 answers
68 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 ...
Dolan Antenucci's user avatar
0 votes
1 answer
174 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 ...
port5432's user avatar
  • 173
1 vote
1 answer
309 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 ...
alsdkjasdlkja's user avatar
1 vote
2 answers
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 ...
Warrior's user avatar
  • 223
0 votes
1 answer
131 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 ...
chriscowley's user avatar