Tag: linux

Docker volumes on CentOS 7

I have run into a problem on CentOS 7 when attempting to map a volume to the host in a tomcat container. This happens with the public tomcat images as well as an image I have created (based on centos instead of debian). instantiating a container as follows will succeed: docker run -it -d tomcat:8 […]

Docker – Mount Windows Network Share Inside Container [duplicate]

This question already has an answer here: Mount SMB/CIFS share within a Docker container 2 answers

Can't CD into directory with 755 permissions?

My directory has 755 permissions, but my user, www-data in this case, still can’t cd into it. What’s going on? www-data@6265e61c98eb:/$ ls -ld root drwxr-xr-x 5 root root 4096 Jul 15 08:22 root www-data@6265e61c98eb:/$ cd root bash: cd: root: Permission denied This is inside of a Docker container, not sure if that’s playing a role. […]

docker networking – Could not discover any bindable network interfaces

I am trying to execute a jar from within a docker container which tries to start a service and detects an IP and port of a remote service and tries to connect to it. But as soon as I do that I get this exception – Exception occured: org.teleal.cling.transport.spi.InitializationException: Could not discover any bindable network […]

docker swarm create fails when tar can't find container file system

I’m running docker on a CentOS VM. Some version information: Linux cmodqa.lab.c-cor.com 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@xxx ~]# docker version Client version: 1.6.0 Client API version: 1.18 Go version (client): go1.4.2 Git commit (client): 8aae715/1.6.0 OS/Arch (client): linux/amd64 Server version: 1.6.0 Server API version: 1.18 Go […]

Managing mysql users in a Docker environment

My goal is to create the following: one nginx container as a single entry point which will load balance amongst N node containers (APIs). one MySQL container (ultimately I will run replicas as well, not sure if this is related the problem). many API containers that will connect to the mysql container Based on my […]

how to connect a docker container to network

I am newbie to docker. i am running a docker container with ip address at Host Ubuntu OS . when i ping from it ping successful. but another host at network with ip is not able to ping i add nat rule also at *nat -I PREROUTING -d […]

Unrecognized argument format hosting.ini

Trying to deploy default asp 5 app on to docker container running on ubuntu server. All goes smooth except one thing. Application cant start giving System.FormatException: Unrecognized argument format: ‘hosting.ini’. Any ideas? What is this about?

netcat for MySQL connection forwarding

This question is in relation to Dockerized web app connecting to MySQL DB on host I am trying to open up a connection from a docker container to the host to support MySQL connections. The way I understand it I should be able to execute the following in my container nc.traditional -l -p 3306 -c […]

Deploy my application to cluster of multiple vms using orchestration tools

Kubernetes is orchestration system for Docker containers. This means: I can deploy and scale my application using it, and it will ensure that my application (that consistes of microservices) is up and running. Now I want to use it to deploy my application to a cluster. My cluster consists of 3 virtual-machines that run Ubuntu […]

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