Tag: docker

OSX docker build error Command not found: -t

This command used to work just fine a couple of days ago: docker build  -t dtwill/elasticsearch . | tee build.log Now it errors with the command not found -t. The only thing that has changed in my environment is I installed docker-py via pip. Here is the output after boot2docker starts: bash-3.2$ docker version Client […]

Containers – What are their benefits, if they can't run across platform

I read over internet “containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server“. I also read that linux containers cannot run on windows. The benifits of containers stated “Containers run as an […]

Docker vs old approach (supervisor, git, your project)

I’m on Docker for past weeks and I can say I love it and I get the idea. But what I can’t figure out is how can I “transfer” my current set-up on Docker solution. I guess I’m not the only one and here is what I mean. I’m Python guys, more specifically Django. So […]

Docker run script in host on docker-compose up

thank you for watching this question. So my question relates to best practices on how to run a script on a docker-compose up directive. Currently i’m sharing a volume between host and container to allow for the script changes to be visible to both host and container. Similar to a watching script polling for changes […]

Docker installation on 16.04 LTS

How to install docker on Ubuntu 16.04 LTS

docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied

Deploying docker Neo4J image using openshift and I’m getting this error: docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied. Any idea how to solve this issue on open shift?

Difference between docker -d and doing ctrl-p+ctrl-q after launching interactively?

Is docker -d more efficient than simply first running interactively with docker -i -t and then detaching with ctrl-p + ctrl-q? On my production server, I need to change some config settings after running the container. I could commit those config changes and start a new container from this image, but I’d rather just keep […]

How I use a local container in a swarm cluster

A colleague find out Docker and want to use it for our project. I start to use Docker for test. After reading an article about Docker swarm I want to test it. I have installed 3 VM (ubuntu server 14.04) with docker and swarm. I followed some How To ( http://blog.remmelt.com/2014/12/07/docker-swarm-setup/ and http://devopscube.com/docker-tutorial-getting-started-with-docker-swarm/). My cluster […]

Connection is not being established

I have two running container for flume and hadoop. Let it be hadoop2 and flume2. I created these two containers from two images namely hadoop_alone and flume_alone. docker run -d -p 10.236.173.XX:8020:8020 -p 10.236.173.XX:50030:50030 -p 10.236.173.XX:50060:50060 -p 10.236.173.XX:50070:50070 -p 10.236.173.XX:50075:50075 -p 10.236.173.XX:50090:50090 -p 10.236.173.XX:50105:50105 –name hadoopservices hadoop_alone I get into hadoop container and checked for […]

docker command line list arguments

When I am starting the docker daemon I am modifying the dns server so that the containers have a modified /etc/resolv.conf. Looking at the usage message I see: $ docker –help Usage: docker [OPTIONS] COMMAND [arg…] A self-sufficient runtime for linux containers. Options: –api-enable-cors=false Enable CORS headers in the remote API -b, –bridge=”” Attach containers […]

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