Tag: docker

Docker-swarm error: read-only file system

I have been trying to set up swarm using docker-machine. I created a swarm of three VMs using virtualbox driver (swarm-master, swarm-node-00, swarm-node-01) using docker-hub token. Here is the info: [peeyush@localhost ~]$ $(docker-machine_linux-amd64 env –swarm swarm-master) [peeyush@localhost ~]$ docker info Containers: 6 Nodes: 3 swarm-master: 192.168.99.103:2376 └ Containers: 2 └ Reserved CPUs: 0 / 4 […]

When restart docker.io service,some docker containers don't start

When I restart the docker service by using the command: service docker.io restart Then I found some docker containers don’t start normally and I also cannot found docker logs in /var/log. could you help me? Any suggestions appreciated. such as : I had 5 dockers at the beginning, root@docker:/home/ubuntu# docker ps CONTAINER ID IMAGE COMMAND […]

can't execute conky on docker

I try to execute conky on my container (docker) for monitoring it with ssh tunnel. If I try to execute conky on my admin server it’s okay but on my container I can’t ! pc –> admin server –> container I’ve installed libimlib2-dev but I get again this error: Conky: can’t open display: ***** Imlib2 […]

Can't run Docker daemon on Intel Edison

i’m trying to install Docker on my Intel Edison that is running Ubilinux, but need some help. i compiled the source code using this guide -> https://github.com/docker/docker/blob/master/project/PACKAGERS.md … but when i try to run the daemon with “./docker daemon” i get this error: xotl@ubilinux:~/docker/bundles/1.9.0-dev/binary$ sudo ./docker daemon INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) INFO[0000] […]

docker: cannot map two container ports to one host port

app.json for pm2 (src/app.py is Flask app): { “apps”: [ { “exec_mode”: “fork”, “script”: “src/app.py”, “args”: [“-p”, “8080”] }, { “exec_mode”: “fork”, “script”: “src/app.py”, “args”: [“-p”, “8081”] } ] } ~ Dockerfile: EXPOSE 8080 8081 CMD [“pm2”, “start”, “app.json”] Error when running docker: docker run -p 8080:8080 -p 8080:8081 oct20 docker: Error response from daemon: […]

why is my elastic beanstalk instance being replaced when I deploy?

I have a docker based elastic beanstalk environment, hosting a ruby on rails web application. The environment is a single instance box. whenever I issue an eb deploy command, elastic beanstalk terminates the instance and launches a new one. I was expecting that EB would launch a new container in the same instance and swap […]

Get service file information using docker container id

I want to be able to get some information on the service file that created the docker process from the container id. The flow: fleetctl start myapp.service1 fleetctl start myapp.service2 fleetctl start myapp.service3 docker ps –no-trunc for each container id on each record find the service name it was created with I would appriciate any […]

How to update war files in a docker tomcat container

I’ve started looking through docs and beginning to understand docker. Created an image using the official tomcat:7-jre7 image and stuck a war in the appropriate place and it starts/stops fine. My file for reference is : FROM tomcat:7-jre7 MAINTAINER: me, me@hotmail.com ADD app.war /usr/local/tomcat/webapps EXPOSE 8080 CMD [“catalina.sh”, “run”] Now that thats all good I […]

Docker image builds, but doesn't run

I am trying to create a docker build for libreplan, using the install instructions here. The dockerfile is FROM tomcat:6 RUN apt-get -yq update && apt-get -yq install \ cutycapt \ patch \ postgresql-client \ libpg-java \ xvfb # Prepare webapp location RUN mkdir -p /usr/local/tomcat/webapps/libreplan # Get WAR file RUN wget -q -O /usr/local/tomcat/webapps/libreplan/libreplan.war […]

udevadm does not show all attributes inside a docker container

When I run docker container and list properties of some device with udevadm inside the container, there are only the basic information about the device. When I do the same thing on host, I can see much more. What can I do to get all the information inside the container? host$ udevadm info –query=property /dev/bus/usb/004/008 […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.