I’m running docker-machine on an El Capitan Mac. I’m trying to mount a host directory onto a specific path within a container. I’ve boiled my problem down to a simple test case. docker run -it –volume=/Users/me/directory:/directory debian:jessie bash I would expect to see the directory /directory within the container. Instead I see the directory /Users/me/directory:/directory. […]
When using the docker run command, it’s possible to specify what the DNS hosts of the container should be by passing –dns <dns_server_ip> arguments. Is there an equivalent for the docker build command? There is nothing about it in the docs, and trying it throws an error.
I want to create a aws group for docker-machine. Which policies do I have to this role when I want the full functionality of docker-machine?
I am trying to make a simple docker container that runs the Rails app from the directory that I launch it in. Everything appears to be fine except when I run the container and try to access it from my Windows host at the IP address that Docker Machine gives me, it responds with a […]
Apparently, this is a silly question, though, i hope someone can help me. I was thinking docker containers can run, because docker-machine is running on my MacOS X. Like on this situation: > docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS default – virtualbox Running tcp://192.168.99.100:2376 v1.12.2 > docker ps CONTAINER ID IMAGE […]
I have a server application that should run in Ubuntu OS multiple times and I want to use docker. what is the best scenario here to get better performance ? 1- run all instance in a single container with docker and Ubuntu image or 2- run a single instance of each app in separated containers […]
I am running Docker on Windows (not the native version. i.e. the one that runs on a VM via docker-machine). Currently I have the access websites like so: 192.168.99.100:8080 for website 1 192.168.99.100:8081 for website 2 192.168.99.100:8082 for website 3 This is a real pain for obvious reasons. I want to be able to do […]
I created a swarm cluster via docker-machine -d azure –swarm –swarm-master –swarm-discovery token://SWARM_CLUSTER_TOKEN my-swarm-master and docker-machine -d azure–swarm –swarm-discovery token://SWARM_CLUSTER_TOKEN my-node-01 After that, I Logged into cloud.docker.com – but when I click on Node Clusters or Nodes I can’t see my swarm. So is swarm (via command line) and cluster (via cloud.docker.com) not the same […]
I wonder if it is possible to run Windows docker container at Linux environment.
After executing this; eval $(docker-machine env mymachine) How do I check if the docker daemon on mymachine is a swarm manager?