Tag: devops

container exit with code 0 while using docker compose file

I have a dockerfile to install httpd. When i run this dockerfile using the command docker run -dit /bin/bash, the container is started and it is running in the background. when i perform docker ps i could see the container running. I have created a docker-compose.yml file as below, version: ‘2’ services: web: build: context: […]

Docker Machine Virtual Box Driver Issue

I tried Docker machine for creating bare docker based VM using virtual BOX driver,When I tried changing the network from NAT to Bridge machine start showing error and no IP is assigned to the machine by the docker-machine.In addition to that, when I tried taking SSH of the machine it hangs my terminal. Is it […]

Multiservice application in Teamcity – composing branches

I have large application which is built on top of 3 microservices A, B, C each service has its own git repository and build task each build task produces docker image there is also deploy task which depends on every microservice build task deploy task generates docker-compose.yml file from template and runs it on swarm […]

Can push docker images to Artifactory, but can't pull

Having a strange issue at the moment trying to pull down my docker images from Artifactory, any takes would be appreciated. When I run ‘docker pull’ I get the following: [mark@host]$ sudo /usr/bin/docker pull ficc-artifactory.bns/product/docker-image:0.2.0 Error response from daemon: unknown: Not Found This made me think that fine, perhaps I need to login to the […]

How to install tomcat7 in docker ?

i installed docker in my QA environment (ubuntu 14.04) which has already installed with tomcat7 and java.can i install tomcat7 and java using docker pull command in command line and can i deploy same application on this docker? ` [enter image description here `

blktrace output error in docker container

my docker container base image is ubuntu, and I ran it with full privilege options that means in run command I use these switches: –cap-add=SYS_ADMIN –security-opt apparmor:unconfined I wanna use blktrce using below command: sudo blktrace -d / -a issue -o – | blkparse -f “%p %T.%9t %D %S ^C %d\n” -i – >stream.out but, […]

How to configure the directory where to store each database?

The context : I’m “playing” with Docker to host severals websites on one of my VPS. I run 1 httpd docker container for each of this website, but I’ve not enought resources to run 1 mysqld container for all of them… So I’m going to run only 1 mysqld instance, but I would like to […]

Is it reasonable to containerize development environment with Docker?

In my job I needed to checkout and debug an old project, which turned out to be hell due the fact I had to build my development environment from a scratch to satisfy the desired dependencies for the desired workflow. Project configuration has been based on various eclipse plugins like m2e-wtp. Regardless of trying four […]

Kubernetes can't start due to too many open files in system

I am trying create a bunch of pods, services and deployment using Kubernetes, but keep hitting the following errors when I run the kubectl describe command. for “POD” with RunContainerError: “runContainer: API error (500): Cannot start container bbdb58770a848733bf7130b1b230d809fcec3062b2b16748c5e4a8b12cc0533a: [8] System error: too many open files in system\n” I have already terminated all pods and try […]

Should I create a volume for project files when using Docker with git?

I want to Dockerize a project. I have my project files in a git repo. The project is written in python, and requires a virtual environment to be activated and a pip installation of requirements after the git clone from the repo. The container is going to be a development container, so I would need […]

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