docker-toolbox

Docker Toolbox (Windows): invalid volume specification

我怕爱的太早我们不能终老 提交于 2021-02-08 06:29:14
问题 Configration Using Windows 10, Docker Toolbox ( not native Docker, to be able to use VMs). Background There is a Python (2.7) script that is supposed to run a Docker container. The code looks like this: self.docker.containers.run('container_name', command='bash -c "%s"' % command, volumes={PROJECT_PATH: {'bind': '/shared', 'mode': 'rw'}}, working_dir='/shared', remove=True, **kwargs) Problem Trying to run the script: * Building the DummyProbe docker image * Running the DummyProbe container

Docker repository server gave HTTP response to HTTPS client

守給你的承諾、 提交于 2020-07-18 03:36:07
问题 I use Docker toolbox for windows and i`m trying run private docker registry from this documentation https://docs.docker.com/registry/deploying/ But it`s not work for me. Error after this: $ docker pull 192.168.99.100:5000/my-ubuntu Error $ docker pull 192.168.99.100:5000/image Using default tag: latest Error response from daemon: Get https://192.168.99.100:5000/v2/: http: server gave HTTP response to HTTPS client I`m thinking that error is something in my docker client. For information this

How to use vscode remote containers with Docker Toolbox (Windows 7)?

早过忘川 提交于 2020-05-14 08:54:51
问题 I use Windows 7 and can't install Docker for Windows, so I use Docker Toolbox. Docker Toolbox is not supported by Microsoft Visual Studio Code for Remote Container Development. But I need to use this functionality with my docker toolbox. There is an issue on Github not solved yet https://github.com/microsoft/vscode-remote-release/issues/95 回答1: You need to start your docker-machine. Need last version of vscode (1.40.2+) In your .devcontainer.json you can overwrite the workspace mount volumene

How to use vscode remote containers with Docker Toolbox (Windows 7)?

做~自己de王妃 提交于 2020-05-14 08:51:16
问题 I use Windows 7 and can't install Docker for Windows, so I use Docker Toolbox. Docker Toolbox is not supported by Microsoft Visual Studio Code for Remote Container Development. But I need to use this functionality with my docker toolbox. There is an issue on Github not solved yet https://github.com/microsoft/vscode-remote-release/issues/95 回答1: You need to start your docker-machine. Need last version of vscode (1.40.2+) In your .devcontainer.json you can overwrite the workspace mount volumene

Volume binding using docker compose on Windows

一曲冷凌霜 提交于 2020-01-11 08:27:09
问题 I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes: - C:\Users\Joey\Desktop\backend:/var/www/html I receive an invalid bind mount error. 回答1: I think you have to set COMPOSE_CONVERT_WINDOWS_PATHS=1 , see here. Docker Machine should do it automatically: https://github.com/docker/machine/pull/3830 回答2: I faced with same issue (I'm using Docker Desktop). My steps were: 1) Place your folder

Docker unable to mount nginx

穿精又带淫゛_ 提交于 2020-01-05 12:57:21
问题 I'm having issues setting up Docker for the first time on a Windows using the Docker Toolbox. Everything works except nginx at the moment. Error message: ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/c/wamp64/www/cathaypacific_career/ops/nginx/default.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt

Docker unable to mount nginx

心已入冬 提交于 2020-01-05 12:57:15
问题 I'm having issues setting up Docker for the first time on a Windows using the Docker Toolbox. Everything works except nginx at the moment. Error message: ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/c/wamp64/www/cathaypacific_career/ops/nginx/default.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt

dotnet aspnetcore docker build fails with a 145 error code

Deadly 提交于 2019-12-30 08:10:26
问题 I've used this tutorial to create my first docker webapi project. I'm using windows 7 (docker toolbox). This what I've ran: dotnet new webapi This is the Dockerfile: FROM microsoft/dotnet:latest COPY . /app WORKDIR /app RUN ["dotnet", "restore"] RUN ["dotnet", "build"] EXPOSE 5000/tcp ENV ASPNETCORE_URLS http://*:5000 ENTRYPOINT ["dotnet", "run"] This is how I created the image: docker build -t mydemos:aspnetcorehelloworld . And this is how I've created and ran the container: docker run -d -p

winpty consumes git bash shell

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 01:24:47
问题 I have Windows 10. I can't enable Hyper V, so I'm using Docker Toolbox. My terminal of choice is git bash, which is a Msys2 terminal. Normally, everything works fine, except when I need an interactive terminal. For instance, docker login artifactory.mycompany.com gives: Error: Cannot perform an interactive login from a non TTY device When I try instead winpty docker login artifactory.mycompany.com nothing happens, but my console input and output is completely consumed (nothing is displayed