I’m running under boot2docker 1.3.1. I have a Docker container running a web server via uwsgi –http :8080. If I attach to the container I can browse the web site using lynx http://127.0.0.1:8080 so I know the server is working. I ran my container with: $ docker run -itP –expose 8080 uwsgi_app:0.2 It has the […]
I am trying to write a docker file which will run a RUN command to search for a word in a package.json file and act upon it: this is my simple dockerfile: FROM ubuntu:14.04 COPY package.json package.json RUN if grep -q “grunt” package.json; then echo succeed fi as you can see i just want a […]
Suppose I have a server running on port 8000 on OSX. How can my Docker container access it via localhost:8000? I can’t change the hostname too as the app in the container is not in my control. I’ve read this previous discussion on using –net=”host” for a container to access the host machine’s network. However, […]
I am newbie to the world of virtualization. Can some one explain to me the differences between OpenVZ and Docker? What could be good for the future? Pros and cons?
Haven’t found an answer anywhere… I created a VM (boot2docker) using docker-machine. I need to edit some files using root. What is the root password in boot2docker?
I’ve been playing around with docker on a mac so I need to install boot2docker to make it work. I have a pretty powerful machine and a very resource hungry app so I want to up the available memory from the default which is 1GB to something like 8GB. This is what I’ve tried Booting […]
In short: How can I set the HTTP/HTTPS proxies for Docker on Mac OS X? In detail: I run Docker (1.12) on Mac OS X behind a proxy. I followed the installation instructions and installed boot2docker. This is working fine if I pull from my network-internal Docker registry. However, I get the following error when pulling from […]
Intro I can’t figure out a good way to setup a development environment on OS X using Docker and Boot2Docker. The problem I’m hitting is how to manage the source code so that: I can modify the code on OS X using the tools (text editor, IDE, git, etc) I already have installed. Those modifications […]
Running boot2docker with the start|info|stop|delete arguments result in an error message: snowch$ boot2docker start error in run: Failed to get machine “boot2docker-vm”: machine does not exist snowch$ boot2docker info error in run: Failed to get machine “boot2docker-vm”: machine does not exist snowch$ boot2docker stop error in run: Failed to get machine “boot2docker-vm”: machine does not […]