Questions tagged [docker-machine]

The tag has no usage guidance.

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

How to create docker containers for ibm netezza and teradata?

When I check the docker hub, I am getting only client tools but not the database. We need docker images to use them as test databases, but not able to find any. If any install steps for linux, we ...
0
votes
1answer
521 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="...
0
votes
0answers
25 views

Docker random 503 after working perfectly for a week, printing logs fixes it

I am hosting a java backend for an app. I start the docker by using docker-compose up -d which works perfectly for me. However after roughly a week the server randomly responds with 503 Service ...
0
votes
1answer
213 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....
0
votes
0answers
68 views

How to mount a Network Drive from a Windows host to a Linux running inside Oracle VirtualBox

I have a Windows 10 machine host that has several Network Driver connected to it. I am running a Linux VM withing an Oracle VirtualBox. I want to be able to access the Network Drives from the VM. I ...
0
votes
1answer
80 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 ...
-1
votes
2answers
153 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 ...
1
vote
1answer
314 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 ...
1
vote
0answers
124 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 ...
1
vote
0answers
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 ...
0
votes
1answer
54 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
3answers
504 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
1k 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
1answer
189 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
149 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 ...
1
vote
1answer
415 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
4k 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
715 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
608 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. ...
6
votes
2answers
20k 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
427 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 ...
3
votes
1answer
134 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
294 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
112 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
486 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
38 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
2k 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
1k 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
917 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
353 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". ...
1
vote
1answer
3k 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
296 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
1k 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
511 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
418 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
194 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
455 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
169 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
16k 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
547 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
59 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
160 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
279 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 ...