Questions tagged [docker-machine]

Docker Machine is a deprecated project that allows you to create Docker hosts on a local computer or cloud providers.

9 questions
5
votes
1 answer

Does Docker on MacOS support tmpfs?

I am new to Docker and I want to run Docker with ram only storage. In other words, I do not want Docker to save anything on persistent storage. I found out that on Linux Docker supports tmpfs. Is there any such support for MacOS? I have tried…
muhammad haris
  • 223
  • 2
  • 3
5
votes
3 answers

How to connect to a docker container?

I have the following Dockerfile: FROM ubuntu:latest MAINTAINER Valter Silva RUN apt-get update RUN apt-get install -y apache2 ADD index.html /var/www/html/ CMD /usr/sbin/apache2ctl -D FOREGROUND EXPOSE 22 EXPOSE 80 This is how I build my…
Valter Silva
  • 209
  • 1
  • 2
  • 6
4
votes
2 answers

Access private DockerHub repo in Docker Swarm

I am trying to deploy a docker swarm using Digital Ocean's docker-machine driver. This is currently a single node that contains several public DockerHub images, and one private. I am having difficulties in configuring it to accept the private…
DannyB
  • 141
  • 1
  • 2
1
vote
1 answer

Docker bridge network Configuration for containers

I have an Angular application deployed in the container . If I log in to the container I can curl to the port 4200. I have mapped to port 9001 to connect from my host . But I can't curl from my host machine. What could be the issue? I think I…
Madan
  • 111
  • 1
  • 2
  • 5
1
vote
1 answer

Docker for Windows 7 with Visual Studio 2017 Integration

My objective is to have a development environment with docker and Kubernetes integrated with Visual Studio 2017 so that I can run the app on the docker container from directly within Visual Studio. I'm on a Windows 7 OS. My research has taken me…
jth_92
  • 111
  • 2
1
vote
1 answer

How to migrate away from `docker-machine create`?

I have an old script that uses docker-machine create to create an number of Hyper-V VMs and run a server application inside each one, using docker. It was done this way because the application instances use hard-coded port numbers, and would run…
Craig
  • 151
  • 7
1
vote
1 answer

Docker compose up, Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use

I'm trying to a gitlab/gitlab-ce image up and running with docker-compose on macOS (Big Sur) (docker-compose up -d). I'm using docker-machine with the virtualBox driver. However, when starting the container I get the following error: ERROR: for web…
Byron
  • 111
  • 3
0
votes
1 answer

I trying on Windows 10, Trying to connect / login to work interactively on container but I'm getting this kind of error

I trying on Windows 10, Trying to connect / login to work interactively on container but I'm getting this kind of error docker run --rm -p 8080:80 laravel-docker Error response from daemon: driver failed programming external connectivity on…
Kishore
  • 101
-3
votes
1 answer

Had to point localhost to remote ip for docker-compose to work. why?

I had my docker env variables set like this: set -gx DOCKER_TLS_VERIFY "1"; set -gx DOCKER_HOST "tcp://xxx.xxx.xxx.xxx:2376"; set -gx DOCKER_CERT_PATH "/home/me/.docker/machine/machines/myhost"; set -gx DOCKER_MACHINE_NAME "myhost"; When I tried…