Questions tagged [docker-machine]

46 questions
7
votes
2 answers

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

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 no matter what I do I always get this error:…
samayo
  • 277
  • 3
  • 5
  • 17
7
votes
1 answer

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 question, curl and nslookup return: curl: (6)…
3
votes
1 answer

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 come with a GPU, and thus are supported by Docker…
Thomas Wana
  • 141
  • 2
3
votes
1 answer

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 host, make sure you configure passwordless sudo: #…
Antwane
  • 165
  • 1
  • 11
3
votes
1 answer

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 is controlled by a single route using dhcpv6,…
chrstnwhlrt
  • 325
  • 6
  • 15
2
votes
1 answer

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, but their document describing the migration is…
gctwnl
  • 131
  • 5
2
votes
0 answers

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". Besides, if I try to get resource consumption inside a…
2
votes
1 answer

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

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: wallet ports: - "81:81" restart: always …
Kendall
  • 247
  • 1
  • 3
  • 13
1
vote
0 answers

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 axios request works perfectly fine when it is…
thatguyjono
  • 111
  • 2
1
vote
1 answer

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) Docker (C) Hyper-V (D) MobyLinuxVM (E) …
orad
  • 113
  • 5
1
vote
0 answers

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 kitematic use the machine too ? Anybody know, i checked…
Ian Gregson
  • 111
  • 1
1
vote
1 answer

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.Node ] [] initializing…
1
vote
1 answer

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 install -y…
1
vote
0 answers

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 NAT interface on docker-machine. My setup…
user59553
  • 111
  • 2
1
vote
0 answers

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 me thinking about system updates to the Docker…
Dolan Antenucci
  • 329
  • 1
  • 4
  • 16
1
2 3 4