Tag: ubuntu

How to fill in a Docker mongodb image

I don’t really understand how I can fill in my mongodb image with a simple script like demoInstall.js. I have my image and I can launch a mongodb instance. But I can not access to the docker image “mongo shell” to fill this one with the script. I tried this command : sudo docker run […]

Should the docker production image needs code as volume or not

I am using docker and I mount my code in /var/www/code in host in my development. Now when I want to release my stuff in production I have two doubts Do I follow the same process and update the code in production host with deployment script Or my production image does not have any host […]

Docker ubuntu 16.04 container 64-bit run 32-bit applications

Is there a general list of the packages needed for a docker 64-bit ubuntu 16.04 container to run 32-bit applications? I’ve seen people mentioning ia32-libs here and here. Also some others suggested to add to a docker file these: RUN dpkg –add-architecture i386 RUN apt-get update RUN apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386 Is […]

How to create local mirror for ubuntu inside docker container?

I wants to create local mirror for Ubuntu inside docker container. Here is the link I am following from git hub. https://github.com/ekino/docker-images Now the issue is that it is taking too much time to download the whole packages,even though I divided its in part like main,restricted and universe but it is downloading packages of 22 […]

what is “COPY . /src”for when building a image

I’m new to docker,I’m reading the docker’s documentation. there is a simple example in it https://docs.docker.com/examples/nodejs_web_app/ https://github.com/enokd/docker-node-hello/ I’m confused about this”COPY . /src”in the Dockerfile. In this example, “.” represent the directory where the Dockerfile is in(the current dir,in my computer,it is /home/pete),So why do I have to copy all the files in /home/pete to […]

ubuntu 14.04 SuperDesk Raven not configured (logging is disabled)

I installed a clean Ubuntu 14.04 x64 server machine on VMWare ESXi5.5 Inside it I followed the installation procedure for Sourcefabric’s SuperDesk software described in https://github.com/superdesk/superdesk/blob/master/README.md After running the ‘local demo’ and ‘create user’ script at the end of the README.md file, I get the following output: WARNING:elasticsearch:PUT /superdesk [status:400 request:0.064s] Raven is not configured […]

Can't install docker properly

Installed docker1.6 from deb package but have a problem on running: sudo docker version Client version: 1.6.2 Client API version: 1.18 Go version (client): go1.4.2 Git commit (client): 7c8fca2 OS/Arch (client): linux/amd64 FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? Any […]

How to clean up /var/lib/docker/vfs directory

I am trying to figure out how I can reclaim some of my disk space from Docker. My /var/lib/docker directory currently looks like: 42M containers 3.6G devicemapper 14M image 68K network 20K plugins 4.0K swarm 4.0K tmp 4.0K trust 9.0G vfs 28K volumes I dont know why my vfs directory is so huge nor how […]

DigitalOcean, Docker, Dokku: Installing Firefox inside a container

I have an application which needs to use a headed browser periodically. I want to Host it using Dokku. How can I install this into my DO container? When I run: dokku run MY_APP apt-get install firefox I get: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd-daemon0_204-5ubuntu20.9_amd64.deb 404 Not Found [IP: 80] . . . E: Failed […]

Installing an uptodate version of Mono on Ubuntu using docker

This has been really really painful so far! I just want to get a recent build of Mono into my Ubuntu docker container! It seems the Ubuntu distro is ridiculously out of date and I need to get a recent build on so that I can run a ServiceStack API from it. Here is my […]

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