Tag: linux

Why does the path command doesn't work in Docker file

This is my docker file # This is a comment FROM chapmanb/bcbio-nextgen-devel MAINTAINER Sabarish Subramanian RUN mkdir /root/software && cd /root/software && wget http://bio.math.berkeley.edu /eXpress /downloads/express-1.5.1/express-1.5.1-linux_x86_64.tgz RUN cd /root && mkdir src && cd src && tar xzf ../software/express-1.5.1-linux_x86_64.tgz && PATH=$PATH:/root/src/express-1.5.1-linux_x86_64 && export PATH && echo $PATH In the new docker container the path is […]

Run command in background does not work

My aim is to start docker in background. Due to some issues with services, I want to start docker manually in background. Here my approach, where I run the docker daemon in background, so I don’t have the output on the command line and the command line is not blocked by the process. HTTP_PROXY=http://example.net:8080 HTTPS_PROXY=http://example.net:8080 […]

can't execute conky on docker

I try to execute conky on my container (docker) for monitoring it with ssh tunnel. If I try to execute conky on my admin server it’s okay but on my container I can’t ! pc –> admin server –> container I’ve installed libimlib2-dev but I get again this error: Conky: can’t open display: ***** Imlib2 […]

how is docker better if tools like fedora's devassistant and virtualenv exist? [closed]

I am trying to understand docker.io LXC container for a while,but if we consider fedora‘s devassistant tool and virtualenv then virtualenv will do the work of isolation and devassistant will download all the needed dependency by interpreting the setup configuration file.so its like by using two keyword commands on terminal like we almost setup a […]

How to recover my /usr/lib/docker/graph/ directory?

My docker images gets stored in /usr/lib/docker/graph. I tried to delete all the images stored in /usr/lib/docker/graph/*. But unfortunately i deleted the graph directory itself. Now, i am unable to build a docker image. It says /usr/lib/docker/graph no images Any solutions?

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: no space left on device, but Ubuntu has over 900GB free

I have a dedicated server with about 900gb of free space left. I have about 5-6 images on docker running atm, and I’m trying to spin up another instance for mongo. docker run –name mongo-database -d mongo However, for some reason I get the error docker: write /var/lib/docker/tmp/GetImageBlob907911044: no space left on device. See ‘docker […]

Docker devicemapper storage space

Am getting the “no space left on device” error while removing a container. # docker rm orientdb1 Error response from daemon: Driver devicemapper failed to remove root filesystem ba18ea8014b6024eb738502612130244ff363b433f146102c64eb2eb0f3a321c: devmapper: Error saving transaction metadata: devmapper: Error creating metadata file: open /var/lib/docker/devicemapper/metadata/.tmp636968871: no space left on device Here is a snippet from “df -kh” output. Filesystem […]

How to scp a folder from windows to boot2docker?

My Windows hostname is xxxxr and domain name is yy.zz.com I have a shared compute service whose domain is qq.pp.in and ip is a.b.c.d I logged into the scs as xxxxr scp -r xxxxr@yy.zz.com:file1.txt xxxxr@qq.pp.in:file2.txt When i execute this command through putty. I get ssh: connection timed out. Any suggestionds?

Rename file in docker container

I’m having a weird Error when i try to run a simple script on docker container on redhat machine, this is the Docker file From tomcat:7.0.70-jre7 ENV CLIENTNAME geocontact ADD tomcat-users.xml /usr/local/tomcat/conf/ ADD app.war /usr/local/tomcat/webapps/ COPY app.sh / ENTRYPOINT [“/app.sh”] and app.sh is the script that cause the problem “only on redhat” #!/bin/bash set -e […]

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