Skip to content
Advertisement

Tag: docker

Docker container apt-get install can’t find package

I’m trying to spin up a docker container that populates mongo via a node.js script that I have. With the script below, I get the error : with this dockerfile: Why does apt-get not find nodejs? Answer Seems i was missing RUN curl –silent –location https://deb.nodesource.com/setup_0.10 | bash – before the apt-get install

How do symlinks in a host volume work in Docker containers?

My question is about what happens when you create a symlink from inside a container in a host mounted directory. It’s easiest if I just ask with an example. Assume we start a container like so. Most of the command doesn’t matter, what’s important here is the host volume mount. While in the container I create a symlink in the

Docker containers as Linux services?

I just created a secure Docker Registry and ran it on a remote VM (using docker run …). I then ran docker ps and saw that it is in fact running. I exited the machine and then SSHed back in. Again, I ran docker ps and verified it “survived” me exiting the SSH session. This has me wondering: do Docker

Could not install mysql-server inside docker container

I want to configure a container with MySQL, thereafter I will add a java application to the container. But, I could not install MySQL-server inside the container. here is my dockerfile: I got the following error: Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.5_5.5.44-0ubuntu0.14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 2015/09/01 13:17:36 The command [/bin/sh -c apt-get -y install mysql-server

Simulate VPN connection in docker

I want to simulate a VPN traffic on my machine. I’ve set up VPN server which runs inside a docker image. I can successfully log in. The problem is that the docker image is running on my machine on the default docker’s bridge – docker0. There is no change if I do connect to machine using VPN or not. It

Can I Run docker on linux mint 13? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Nancy on Linux is using 100% CPU

My nancy web-apps are using up together 100% CPU without them actually being used. They are running inside a docker container on mono. The only thing I could think about to cause this, would be the endless loop in my main function, something like but I thought, Console.ReadLine() would be blocking and therefore this loop would only execute, whenever there

Bash script wait depended commands processes

I am fairly new in bash scripting. I need to use bash script for manage my microservices, so these services need build and deploy(on docker). So I have commands like that : So as you see(a little part of script, i am grouping depended commands in functions),commands need to wait previous depended commands like that. But wait $! command doesn’t

Advertisement