Tag: containers

Not copy container volume to host when docker run

Dockerfile FROM setyourmindpark/debian-utf8 MAINTAINER jaehunpark “mailUrl” RUN apt-get update && \ apt-get install -y curl && \ apt-get install -y vim RUN echo ‘someting string’ >> /etc/apt/sources.list && \ echo ‘someting String’ >> /etc/apt/sources.list && \ curl someUrl | apt-key add – && \ apt-get update && \ apt-get install -y nginx VOLUME /etc/nginx EXPOSE […]

Issue when I try to create a docker image [duplicate]

This question already has an answer here: Why docker container exits immediately 5 answers

Docker behind VPN cannot start after downloading TFS container

I have a docker cluster behind a VPN. I have downloaded TFS agent container, and want to connect to our TFS but it cannot connect with an alarm of: Determining matching VSTS agent… Downloading and installing VSTS agent… curl: (35) gnutls_handshake() failed: Error in the pull function. gzip: stdin: unexpected end of file tar: Child […]

Iscsid not starting on a centos6 docker on MacOS host

I am trying to run iscsid on a centos docker. But the command fails with, “FATAL: Could not load /lib/modules/4.9.13-moby/modules.dep: No such file or directory” [root@7627d06541cc opt]# iscsiadm -m node -o new -T bilbo:cdisk0 -p Starting iscsid: FATAL: Could not load /lib/modules/4.9.13-moby/modules.dep: No such file or directory FATAL: Could not load /lib/modules/4.9.13-moby/modules.dep: No such […]

How to accelerate Docker container boot time?

I am new to containerizing apps using Docker. I could deploy a container including a war file. The war is basically a JAVA web application/servlet that sends back a video file upon receiving the request from end-user. The app deployment using docker was a success and app works fine. However I have some issues regarding […]

Not able to run tomcat container in kubernetes after exposing it as a service

I have created kubernetes cluster in Google could engine. I am running two pods in kubernetes and each pod has tomcat container running. I want to access this tomcat application outside the cluster that is through my browser or curl command. I have created a service as load balancer which gave me one external ip […]

How to persist MySQL container on Windows 10 between reboots

I’m using a native Docker for Windows (on Windows 10) for WordPress development. I have two containers: WordPress and MySQL. MySQL container has a data volume where DB data is stored between runs. I start containers with ‘docker-compose up -d’ and stop with ‘docker-compose down’. When stopped this way, MySQL data is saved properly to […]

bluemix docker-compose String indices must be integers

I’m trying to upload two containers to Bluemix using docker-compose: docker-compose -f docker-compose-bluemix.yml up -d My docker-compose-bluemix.yml file is: api: image: registry.eu-gb.bluemix.net/mycompany/java container_name: java-identity-verification-sdk-container ports: – 8080:8080 volumes: – java-identity-verification-sdk:/data links: – mongo mongo: image: registry.eu-gb.bluemix.net/mycompany/mongo container_name: mongo-identity-verification-sdk-container volumes: – mongo-identity-verification-sdk:/data/db ports: – 27017:27017 There are no special characters in docker-compose-bluemix.yml (like tabs). The images […]

cAdvisor: How to run it with a remote docker API?

Is there a way to run a cAdvisor container in a Monitoring server and monitor docker containers in a separate server? Is there a command I can include when running cAdvisor? Because I want to be able to monitor containers in a separate server but I’m not sure how to achieve that… Any suggestions or […]

Schema Registry container: Server died unexpectedly when launching using docker-compose

I have written docker-compose.yml file to create the following containers: Confluent-Zookeeper Confluent-Kafka Confluent-Schema Registry I want a single docker-compose file to spun up the necessary containers, expose required ports and interconnect the dependent containers. The goal is to have I am using the official confluent images from Docker Hub. My docker-compose file looks like this: […]

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