docker-toolbox

Cannot connect to X server using docker on OSX

冷暖自知 提交于 2019-12-02 05:10:35
问题 I am trying to install openFoam on Mac OS X 10.10.5 (http://www.openfoam.com/download/install-binary.php) by using Docker-toolbox. I can do without problems all the suggested steps, but then, when I try to run the example included in the installation guide, I cannot open paraFoam, since it returns the following error: paraview: cannot connect to X server I have also installed XQuartz but it doesn't seem to help much! 回答1: Why don't you get the latest paraview from Kitware. It has a native

How do I connect to a container hosted in Docker Toolbox?

霸气de小男生 提交于 2019-12-01 14:16:45
I am attempting to run my ASP.NET Core 1.1 web API in a Docker container, but I cannot connect to the web API from a browser or curl . To troubleshoot, I have also brought up standard nginx and Apache httpd containers and cannot connect to these either, so I believe this is a Docker/Docker Toolbox/configuration issue rather than a problem with my application. I'll focus on what I have done with nginx and Apache: I am running Docker Toolbox on Windows 7 Professional, and everything seems to work as I would expect. Docker commands all work as expected I can access the underlying Windows

How do I connect to a container hosted in Docker Toolbox?

家住魔仙堡 提交于 2019-12-01 12:07:17
问题 I am attempting to run my ASP.NET Core 1.1 web API in a Docker container, but I cannot connect to the web API from a browser or curl . To troubleshoot, I have also brought up standard nginx and Apache httpd containers and cannot connect to these either, so I believe this is a Docker/Docker Toolbox/configuration issue rather than a problem with my application. I'll focus on what I have done with nginx and Apache: I am running Docker Toolbox on Windows 7 Professional, and everything seems to

dotnet aspnetcore docker build fails with a 145 error code

元气小坏坏 提交于 2019-12-01 03:37:28
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 8080:5000 -t mydemos:aspnetcorehelloworld My service ran successfully as a docker container. Then, I

Docker maven plugin ClientProtocolException (Windows 10 using Docker Toolbox)

时光怂恿深爱的人放手 提交于 2019-11-30 03:29:32
问题 I am trying to build a docker image using the docker-maven-plugin (provided by spotify: https://github.com/spotify/docker-maven-plugin) but things aren't really working out. At first I got this exception: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 I found out that I had to create an env. variable to fix this (https://github.com/spotify/docker-maven-plugin/issues/135): set DOCKER_HOST=set DOCKER_HOST=tcp://192.168.99.100:2376 So after setting that env. variable I

Install Docker Toolbox on a Mac via command line

隐身守侯 提交于 2019-11-29 20:20:21
I am trying to automate setting up a developer environment on Mac. Part of that setup is installing the Docker Toolbox . I cannot find any documentation on how do to this via command line. How can I automate this installation (must be triggered via command line)? Update: As pointed out in a commend by Dennis Docker for Mac now exists, which is an alternative to Docker Toolbox. You can get it via the homebrew cask: brew cask install docker Mike Rylander I found that Docker Toolbox is available via brew/cask # Install Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew

Can I run windows containers using docker-toolbox on windows 7?

孤人 提交于 2019-11-29 05:31:53
I want to run a container with microsoft/windowsservercore. This can be done if docker server's OS is windows. I couldn't find an answer for whether it is possible using docker-toolbox in windows 7. No, Docker Toolbox installs a VirtualBox VM in which a minimal Linux is installed to run Docker Linux containers. Running Native Windows containers requires Windows 10 professional, or Windows Server 2016 . Docker for Windows allows you to toggle between "Linux" and "Windows" containers , but also requires Windows 10 Professional or Enterprise 来源: https://stackoverflow.com/questions/42482154/can-i

Docker toolbox: Is there a way to mount other folders than from “C:\\Users” Windows?

亡梦爱人 提交于 2019-11-29 04:02:06
I installed Docker toolbox 1.8.3 using VirtualBox 5.0.6 on Windows 7. The default virtual machine created during startup of Docker Quickstart Terminal has one defined shared folder for c:\Users . Is it possible to persistently add other shared folders to this virtual machine e.g. mounting a d:\ drive on the host? The boot2docker README mentions Alternatively, Boot2Docker includes the VirtualBox Guest Additions built in for the express purpose of using VirtualBox folder sharing. The first of the following share names that exists (if any) will be automatically mounted at the location specified:

Install Docker Toolbox on a Mac via command line

只谈情不闲聊 提交于 2019-11-28 16:26:44
问题 I am trying to automate setting up a developer environment on Mac. Part of that setup is installing the Docker Toolbox. I cannot find any documentation on how do to this via command line. How can I automate this installation (must be triggered via command line)? Update: As pointed out in a commend by Dennis Docker for Mac now exists, which is an alternative to Docker Toolbox. You can get it via the homebrew cask: brew cask install docker 回答1: I found that Docker Toolbox is available via brew

How to use --volume option with Docker Toolbox on Windows?

↘锁芯ラ 提交于 2019-11-28 15:59:21
How can I share a folder between my Windows files and a docker container, by mounting a volume with simple --volume command using Docker Toolbox on? I'm using "Docker Quickstart Terminal" and when I try this: winpty docker run -it --rm --volume /C/Users/myuser:/myuser ubuntu I have this error: Invalid value "C:\\Users\\myuser\\:\\myuser" for flag --volume: bad mount mode specified : \myuser See 'docker run --help'. Following this , I also tried winpty docker run -it --rm --volume "//C/Users/myuser:/myuser" ubuntu and got Invalid value "\\\\C:\\Users\\myuser\\:\\myuser" for flag --volume: