Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker]

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.

0
votes
1answer
3 views

Failed to load listeners: can't create unix socket /var/run/docker.sock: is a directory

Ubuntu 18.04 Kernel 4.15.0-39-generic x86_64 GNU/Linux What i'm trying to archive, is to get docker to open a TCP socket on IP 192.168.2.11. So i edit the docker configs: systemctl edit docker ...
0
votes
0answers
24 views

Docker is safe?

Is that true that if you install docker on a shared system, it will be safe because anything you do is inside that container and won't hurt other people's files?
0
votes
1answer
53 views

Installing specific versions of bind (apt-get)

I'm trying to set up a proof-of-concept network with a vulnerable DNS server (through bind9). I was wondering if there's any way to use apt-get to install older versions of bind9 (specifically 9.10.X ...
0
votes
0answers
26 views

ERROR: Couldn't connect to Docker daemon at http+docker://localhost + Segmentation Fault on docker daemon

I installed docker at my raspberry pi zero w running the latest raspbian with curl -sSL https://get.docker.com | sh and docker-compose with sudo pip install docker-compose When I run docker-...
0
votes
0answers
39 views

Want to enable 'expose docker daemon on tcp//localhost:2375 without tls' on docker toolbox on wls

I have Windows 10 home so I am not able to install docker for windows version. Upon downloading and installing docker toolbox on windows and installing docker on wls bash by running the following ...
-1
votes
0answers
74 views

Docker Printed font style (Nightmare for printing PDF) not same as Ubuntu [closed]

I installed fonts in Docker (Debian 9) by using Node11 with Nightmare, but printed PDF style is different to what I see in Ubuntu. How do I fix it? Right is from Docker and Left is from Ubuntu:
0
votes
0answers
13 views

ImportError: No module name 'tensorflow' when trying to run a GPU-enabled TensorFlow Image

I am trying to install tensorflow in my laptop with NVIDIA 1050 Ti GPU. I followed the steps in: https://www.tensorflow.org/install/docker Under GPU Support, I used lspci | grep -i nvidia to verify ...
1
vote
0answers
14 views

facing issue Couldn't import Django. Are you sure it's installed and after installing docker

I continuously get this message: Couldn't import Django. Are you sure it's installed on running this command: python manage.py runserver after installing docker in my ubuntu 16.04. Done with Below ...
1
vote
1answer
61 views

How to start a python file with Ubuntu Core 16 and Raspberry pi

How can I start a simple .py in Ubuntu Core 16 and Raspberry Pi? because I'm sitting since 10 hours to get a simple python file running. What I tried: Set it up with snap classic and sudo apt-get: ...
1
vote
0answers
14 views

Jenkins Docker container rights/owner needed to access the jenkins-home

So, I have followed this tutorial to migrate my already configured Jenkins inside a Docker container, this works quite well. At the end of the tutorial, I launched the command: sudo chmod -R 777 ~/...
0
votes
0answers
16 views

docker volume error, over snaps

Install docker with curl and docker volume works well. But, docker volume does not work when docker is installed with snap I uploaded the test video on YouTube below. https://youtu.be/rtvAuZYbUkQ
1
vote
1answer
28 views

In Docker, how to prevent apt-based Dockerfiles to stop working in the future with newer versions of programs?

I am making my own Dockerfiles for several services, and I noticed that most of them have an apt install command in their RUNs, thus everytime I reinstall the image, it gets upgraded to the latest. I ...
0
votes
0answers
20 views

docker unable to import mysql script with JSON column

In the docker container While importing .sql file into MYSQL database we are getting below error: ERROR 1064 (42000) at line 162: You have an error in your SQL syntax; check the manual that ...
0
votes
0answers
18 views

is there a listing of the docker-default apparmor profile available?

I need to customize the apparmor profile used by docker but cannot find the source anywhere. I even tried bing! There may be a good reason it's obscured, but I'm hoping someone on here can point me ...
0
votes
0answers
28 views

WebODM cant find docker

I have installed docker on an Ubuntu 16.04 Server and it seems to be working. I'm trying to run WebODM which requires docker but cant seem to find it. I get the following error. handyman@ubuntu:/...
0
votes
0answers
26 views

How to fix the DNS server inside a VMware for Docker containers?

I am running OSM v4 on Docker on Ubuntu 16.04 on VMware on Windows 10. During the OSM installation though, I got errors when the installation process attempts to create and run the docker containers....
1
vote
0answers
81 views

Installing fonts on Docker Container running Ubuntu 18.04

I'm trying to install fonts in a docker container running Ubuntu 18.04 (Dockerfile inherits from the Jupyter scipy notebook which inherits from the base jupyter image, Dockerfile here). I've tried ...
0
votes
1answer
17 views

in ubuntu18.04 in a docker container can vncserver take the password and reply to “view”only on command line

this for a non-interactive automated startup from the docker file "ENTRYPOINT" something like vncserver --password 'aPassWord' or by setting environment variables or preloading a config file etc.
0
votes
0answers
23 views

How to restrict access from internet to containers ports on remote linux server?

I use docker-compose on ubuntu 18 on remote server. How, with iptables, can i block access from the internet to the docker port and only allow access to it from the localhost of this server? For ...
0
votes
0answers
15 views

SSSD is not starting

I am getting following error while starting sssd in ubunutu docker container $:sudo sssd status ldb: unable to open modules directory '/usr/lib/x86_64-linux-gnu/ldb/modules/ldb' - Permission denied ...
0
votes
0answers
31 views

Multiple Subdomains with different ssh host keys (docker containers)

I am trying to get rid of these annoying message Warning: the ECDSA host key for 'mysub.domain.de' differs from the key for the IP address 'XXX.XXX.XXX.XX' Offending key for IP in /home/thisuser/.ssh/...
0
votes
1answer
42 views

Not able to build Docker image (write /var/lib/docker/tmp/GetImageBlob997861703: no space left on device)

trying to pull a docker image, not able to figure it out Step 1: I deleted all the older Docker images. [pinn@dat src]$ sudo docker images [sudo] password for pinn: REPOSITORY TAG ...
0
votes
0answers
222 views

ImportError: cannot import name _remove_dead_weakref?

I tried docker to run program parliament2, facing import error issue ? docker run dnanexus/parliament2:hgsc -h Traceback (most recent call last): File "/home/dnanexus/parliament2.py", line 3, in ...
0
votes
0answers
13 views

Docker within a docker

Is it okay to run a docker container inside another docker container? Please explain if there are any cons. Upto what depth is it advisable to go. I need to do this primarily for security concerns. ...
0
votes
0answers
83 views

systemd does not stop Docker Application Container Engine

Issue: Every time I reboot or shut down, I have to wait an arbitrary number of minutes due to systemd when it tries to stop the Docker Application Engine. System: xubuntu 18.04 on a Lenovo Thinkpad ...
0
votes
1answer
56 views

Checking if an apt proxy exists

I setup an internal apt proxy, that is mostly used by my Docker containers for our development environment. And thus in my Dockerfile I might have: FROM ubuntu RUN echo 'Acquire::http::Proxy "http://...
0
votes
0answers
47 views

Setting up an Steamcache Server

I am new to Linux and I wanted to set up a Steam cache Server, so I followed this Guide step by step. Sadly I am getting an error code when registering the containers: docker: Error response from ...
2
votes
1answer
175 views

SSH to a docker container

I'm new to docker and I don't manage to connect to a container. If I understand properly I have to connect to SSH to my actual host then use this : docker exec -it pihole-pihole1(...
0
votes
1answer
82 views

When Ubuntu 18.04.1 Server is asked to preinstall Docker, it ends up in /snap

This is confusing because the following doesn't work: # dpkg --list | grep [d]ocker # (verify that Docker is installed) As I'm new to Docker and just learning it, I would like to know whether a) ...
0
votes
1answer
98 views

Docker doesn't work on Ubuntu 16.04 in VirtualBox guest

Tried to install Docker to VirtualBox guest working on Ubuntu 16.04 - it doesn't work. I followed install guide https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository : ...
0
votes
2answers
66 views

How do I pass flags when starting a systemd service?

Note a similar question has been asked: How to pass flags when starting 'service'? But I read a while back that Linux switched from init.d to systemd, and since that Q&A are 6 years old ...
1
vote
2answers
44 views

What is the difference between Docker's “rolling” and “latest” tags?

On the Docker Hub site, I find tags "rolling" and "latest". What is the difference between them? https://hub.docker.com/_/ubuntu/
0
votes
1answer
76 views

Stack overflow starting service on Ubuntu 18.04

Docker service fails to boot with a stackoverflow (see log) $ sudo /usr/bin/dockerd INFO[2018-09-19T12:28:25.427050817+02:00] libcontainerd: started new docker-containerd process pid=13480 INFO[...
0
votes
0answers
57 views

OverlaFS and aufs are missing

I have ubuntu 16.04 server from hosteurope. I want to install docker but i found out there is no overlay and aufs present on server. I have tried various solution posted in docker forums but it is not ...
0
votes
2answers
60 views

How do I know when docker pull updates an image?

I have a script that I run to update images and then stop -> rm -> run them again. Unfortunately, the last 3 steps happen even if pull didn't update the image (i.e. it's already up to date). How can I ...
0
votes
1answer
58 views

/usr/bin/ld: warning: libinference_engine.so, needed by /opt/intel/computer_vision_sdk_2018.2.319/opencv/lib/libopencv_dnn.so.3.4.2, not found

I'm following the setup guide for OpenVino, but am unable to get the samples running. The squeezenet and security barrier demos run fine. The error that I am getting is: /usr/bin/ld: warning: ...
1
vote
1answer
25 views

How to get project path using Docker?

I have an Ubuntu machine, on which I have installed my sails js(node js) project. I am using Docker on an Ubuntu machine. But unfortunately I am not able to find the project location. As it's using ...
1
vote
0answers
104 views

Starting IPSec Command Hangs

I am attempting to establish a VPN connection between two regions in AWS EC2 (two virtual machines) using StrongSwan within Docker. However, I am getting a ton of errors when trying to start the ...
0
votes
0answers
59 views

Docker breaks network bridging to virtual machines

After installing docker I can no longer access my VMs running on my Linux machine. The VMs are up and running but other hosts can no longer access them at all. Has anybody already encountered this ...
3
votes
2answers
147 views

Simplest and most scalable way to isolate ImageMagick in VM or container

For users of my web service running on Ubuntu Server 16.04 or 18.04, I’d like to integrate features from such useful programs as ImageMagick. For example, I’d like to crop their profile pictures or ...
0
votes
1answer
22 views

Bionic - Group addition using usermod -aG doesn't take effect until the next reboot

I've just installed Xubuntu 18.04 (Bionic) and facing this issue, I wanted to report this as a bug on launchpad but thought of confirming it from here first. Thing is that when I add a group to the ...
0
votes
0answers
71 views

OpenVPN is not able to access internet when Docker is running

I am facing problems with OpenVPN when the Docker daemon service is running. The problem is that I am no longer to access any outside network, internet included, when Docker is running. If I ...
0
votes
1answer
295 views

Setting up docker-ce on Ubuntu 16.04

I'm trying to install docker-ce using this process. When I run sudo apt-get install docker-ce I get Setting up docker-ce (18.06.1~ce~3-0~ubuntu) ... Job for docker.service failed because the control ...
0
votes
1answer
31 views

How can i update my docker version in Linux environment?

I need to update my docker version as per older version its showing some issue related to go code so, i have to update the docker version as i found the issue. My linux machine in AWS.
1
vote
0answers
352 views

Ubuntu 18.04.1 takes a long time to shutdown

My Ubuntu takes a very long time to shutdown. I see this message when I press Delete key and the loading screen disappears: A job stop is running for Docker Application Container Engine (15min 41s /...
0
votes
0answers
116 views

Running pyshark (tshark) in a container: TShark not found

I'm trying to run pyshark (which uses tshark) inside a docker container, but without success so far. I already stumbled upon different problems using centos in a containter, in combination with ...
0
votes
0answers
14 views

What are my options for running a depricated library with dependencies

So my introduction to robotics class is using ROS indigo(apparently a lot of the existing codebase isn't easily ported to newer versions) which is running on a depricated version of ubuntu (teacher ...
0
votes
0answers
12 views

How do I fix the GPG error “NO_PUBKEY”? [duplicate]

Get:35 https://apt.dockerproject.org ubuntu-trusty/main/etc/apt/sources.lit.d/ amd64 Packages Err https://apt.dockerproject.org ubuntu-trusty/main/etc/apt/sources.lit.d/ amd64 Packages HttpError403 ...
0
votes
0answers
291 views

systemd cannot start docker.service on Ubuntu 16.04

I cannot start docker from systemd anymore: Docker had been running fine for months. Recently, several things happened on my system, I am not sure which one had an impact: I did a apt-get update; ...
-3
votes
1answer
179 views

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) in using ubunutu 16.04 Docker container [duplicate]

root@01f1d013bd74: /opt/intel/computer_vision_sdk_2018.3.343/deployment_tools/inference_engine/samples# sudo apt-get install cmake E: Could not get lock /var/lib/dpkg/lock - open (11: Resource ...