Dockerfile: Docker build can’t download packages: centos->yum, debian/ubuntu->apt-get behind intranet

PROBLEM Talking to some developers at #docker@freenode, the problem was clear to everyone: DNS and the environment. The build works just fine at a regular Internet connection at home. SOLUTION: This problem occurs in an environment that has a private DNS server, or the network blocks the Google’s DNS servers. Even if the docker container … Read more

Does a docker container have its own TCP/IP stack?

The network stack, as in “the code”, is definitely not in the container, it’s in the kernel of which there’s only one shared by the host and all containers (you already knew this). What each container has is its own separate network namespace, which means it has its own network interfaces and routing tables. Here’s … Read more

Is it possible to share memory between docker containers?

The –ipc=host and –ipc=container:id options have since been added to the Docker create and run commands to share IPC resources. –ipc=”” : Set the IPC mode for the container, ‘container:<name|id>’: reuses another container’s IPC namespace ‘host’: use the host’s IPC namespace inside the container IPC with the host docker run –ipc=host <image> IPC with another … Read more

Backup a running Docker container?

Posted by one friend in comments Hi Slava, sorry that your question was closed. For the record, Slava is talking about docker.io, a runtime for linux containers. Yes, docker export is a suitable approach. It will generate a tarball of your entire container filesystem state, and dump it on stdout. So docker export $CONTAINER_ID > … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)