docker-machine

Docker host is not running

南笙酒味 提交于 2020-02-05 05:59:07
问题 I am using windows 7 machine.I installed docker toolbox having version 19.03.5.When I try to fetch docker machine ip am getting error C:\Windows\system32>docker-machine ip Error getting IP address: Host is not running So when I check the docker status docker-machine status default it shows stopped.I tried to start using docker-machine start default getting error C:\Windows\system32>docker-machine start default Starting "default"... (default) Check network to re-create if needed... (default)

exited with code 0 docker

徘徊边缘 提交于 2020-01-30 22:46:22
问题 I'm trying to launch container using docker-compose services.But unfortunetly, container exited whith code 0 . Containers is build thanks to a repository which is from a .tar.gz archive. This archive is a Centos VM. I want to create 6 container from the same archive. Instead of typing 6 times docker command, I would like to create a docker-compose.yml file where i can summarize their command and tag. I have started to write docker-compose.yml file just for create one container. Here is my

exited with code 0 docker

会有一股神秘感。 提交于 2020-01-30 22:43:52
问题 I'm trying to launch container using docker-compose services.But unfortunetly, container exited whith code 0 . Containers is build thanks to a repository which is from a .tar.gz archive. This archive is a Centos VM. I want to create 6 container from the same archive. Instead of typing 6 times docker command, I would like to create a docker-compose.yml file where i can summarize their command and tag. I have started to write docker-compose.yml file just for create one container. Here is my

docker COPY all fails when not in C drive

谁说胖子不能爱 提交于 2020-01-25 08:53:06
问题 NOTE: I'm on windows 10, using docker-machine / virtual box I have a project which builds and runs just fine when on my C:\ drive. If I copy all files to my second hard drive F:\ the COPY . /path command in my Dockerfile appears to succeed, however when I inspect that directory in the container it's empty. My docker file; FROM php:7.3-apache-stretch RUN docker-php-ext-install pdo_mysql \ && a2enmod rewrite negotiation COPY docker/php/php.ini /usr/local/etc/php/php.ini COPY docker/apache/vhost

Docker for windows: Error creating machine

落爺英雄遲暮 提交于 2020-01-17 08:29:51
问题 Simply following directions here: https://docs.docker.com/machine/drivers/hyper-v/ Tried this command to create a new virtual machine $ docker-machine create --driver hyperv vm But don't get too far and get this error Running pre-create checks... Creating machine... (vm) Copying C:\Users\vostro\.docker\machine\cache\boot2docker.iso to C:\Users\ (vm) Creating SSH key... (vm) Creating VM... (vm) Using switch "DockerNAT" (vm) Creating VHD (vm) Starting VM... Error creating machine: Error in

How to install telnet in Docker for Windows 10

假装没事ソ 提交于 2020-01-15 10:31:42
问题 When I run telnet command in Docker it does not run. Could you please tell me how to install telnet in Docker for Windows? 回答1: There is a docker image for it: docker run mikesplain/telnet <host> <port> 回答2: Old question I know but you can install telnet on docker for windows with the following in your dockerfile RUN powershell -Command Add-WindowsFeature "telnet-client" 回答3: If you are trying to telnet into your container to gain access to it, that isn't how you would want to connect. Docker

How to install telnet in Docker for Windows 10

∥☆過路亽.° 提交于 2020-01-15 10:31:27
问题 When I run telnet command in Docker it does not run. Could you please tell me how to install telnet in Docker for Windows? 回答1: There is a docker image for it: docker run mikesplain/telnet <host> <port> 回答2: Old question I know but you can install telnet on docker for windows with the following in your dockerfile RUN powershell -Command Add-WindowsFeature "telnet-client" 回答3: If you are trying to telnet into your container to gain access to it, that isn't how you would want to connect. Docker

ERRO[0044] failed to dial gRPC: cannot connect to the Docker daemon

孤人 提交于 2020-01-14 08:42:28
问题 I'm using Windows 10 Home and I got this error when connecting to docker: ERRO[0044] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 192.168.99.101:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. context canceled Can anybody help? I have seen solutions for Linux and OS, but not for

Docker-machine : ca.pem not found

前提是你 提交于 2020-01-13 10:43:27
问题 Here i am creating a test machine(dev) using the docker machine. $ docker-machine create -d virtualbox dev Creating CA: C:\Users\xxx\.docker\machine\certs\ca.pem Creating client certificate: C:\Users\xxx\.docker\machine\certs\cert.pem Creating VirtualBox VM... Creating SSH key... Starting VirtualBox VM... Starting VM... The vm gets created and runs with out flaws. And here is the error when i run the following command: $ docker-machine env dev open C:\Users\xxx\.docker\machine\machines\dev\ca

Docker-machine : ca.pem not found

守給你的承諾、 提交于 2020-01-13 10:42:52
问题 Here i am creating a test machine(dev) using the docker machine. $ docker-machine create -d virtualbox dev Creating CA: C:\Users\xxx\.docker\machine\certs\ca.pem Creating client certificate: C:\Users\xxx\.docker\machine\certs\cert.pem Creating VirtualBox VM... Creating SSH key... Starting VirtualBox VM... Starting VM... The vm gets created and runs with out flaws. And here is the error when i run the following command: $ docker-machine env dev open C:\Users\xxx\.docker\machine\machines\dev\ca