Tag: linux

Tracks stops working when volume is specified

I am trying to get the Tracks Docker image to work. When I run the given command docker run -d –name=tracks -p 80:80 staannoe/tracks, everything goes fine. However, if I add a volume with docker run -d –volume /srv/tracks:/var/www –name=tracks -p 80:80 staannoe/tracks then suddenly it breaks: After doing the docker run, when I point […]

docker cannot start container

When I run a container with -p, it failed like this: [root@localhost ~]# docker run -it -p 40000:40000 docker.io/centos:7 /bin/bash FATA[0001] Error response from daemon: Cannot start container f3acda2a65a1521630694a9e019cc8a7131dc58dd10bdfcaa85d1e28f434d8f4: (exit status 1) and this is my env: [root@localhost ~]# uname -r 3.10.0-229.el7.x86_64 [root@localhost ~]# docker version Client version: 1.6.0 Client API version: 1.18 Go version […]

How to remove/install a docker image on an unconfigured Docker for centos 7

Using Centos 6.6 and 7 and deciding to move to centos 7 as there are some issues using docker with centos 6.6 (reboot issues for me) and i’m trying to pull the current centos image from docker. (should just be docker pull centos) However because i already had a docker image of centos installed on […]

Why the Linux total storage auto increase?

I had a Docker Image including a KVM and a windows.img of qcow2 format. And launched a container based on the Image, then I could connect to the windows by remote desktop connection. Theoretically, running a container doesn’t take any storage, only when writing to windows can add storage in this case. But curiously, I […]

How to create multiple guest session on ubuntu or others linux distros?

i want to create an application that allow many people can execute command line to a server in same time. And each one have a “virtual session” (i don’t know how to call that exactly), that allow him create file, folder, … and will destroy when he disconnect. So, i really want to know how […]

How to make postgresql database connectable from outside of the postgres docker container?

I am using postgres:9.3 docker container from the official docker hub https://hub.docker.com/_/postgres/ started the database container with command docker run -d -e POSTGRES_PASSWORD=mysecretpassword -p 25432:5432 –name osm-database osm-database and connect to it using docker link from another container(osm-updater) docker run -d –link osm-database –name osm-updater osm-updater Now I found I can not psql to the […]

what is the use of nested containers and root privilege isolation

I am doing study on docker container and got to know about container and operating system virtualisation. I checked wikipedia on comparison of OS virtualisation implementation. I couldn’t understand what do they mean by root privilege isolation and also what would be the use of nested container ? Thanks

one compatibility issue about docker

It is known that the docker is a virtualized technology based on Linux kernel, and Windows images can not be run on docker. So when I run docker daemon on centos6.5, does it matter starting a container run on the images of centos7?

Setting specific mac address in docker

I’m trying to set a specific mac address in docker using the following command but it’s not working docker run –lxc-conf=”lxc.network.hwaddr=ec:g6:bb:98:9c:d3″ -i -t 0d14 anyone see anything wrong with the command above ?

“Service cron status” command does not give back the status of cron in the ubuntu docker container

I use ubuntu:latest image, cron is already installed, because my cron job doesn’t run at all. I want to check if the cron deamon is running in my docker container. so I type in service cron status results in: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service cron status Since […]

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