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
0answers
11 views

Docker and Openshift

Expand RED HAT CONTAINER REGISTRY with a local Docker image repository. As a Docker user, I can work with the registry (pull, push) everything is OK! But also, as a user, I can upload an image with ...
0
votes
0answers
16 views

Start Docker with AUFS Storage Driver

All questions/answers I have found on Internet doesn't works for me. I want start Docker with AUFS Storage Driver to finish Discourse (forum) installation. I've add {"storage-driver": "aufs"} into /...
0
votes
0answers
20 views

Unable to get host-only network in Ubuntu-mini (bionic-18.04) guest

I am trying to install a bare-minimum (mini) Ubuntu (18.04) guest on Virtualbox v6.0.2 on Windows 10 Pro (Version 1809 Build 17763.253), so that I could have Docker (Community Edition) installed ...
0
votes
0answers
14 views

Docker Ubuntu Openssh server - I figured out how to make it not exit, but I don't understand what is going on

I made a Dockerfile with installs for ssh-server, and was initially having problems with it exiting immediately after the command to start the service. I found a workaround, but I don't understand ...
0
votes
0answers
18 views

Issue while installing docker in ubuntu server

sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual getting error demo@demo:~$ sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual Reading ...
0
votes
0answers
5 views

How to load docker files into Pycharm

I have a Docker container that runs Ubuntu16.04 and has a Django project. I want to be able to open this project in the Pycharm on my Windows host. How can I do that? Thank you
0
votes
0answers
9 views

Need recommendation for a vm software or any other way to run docker on a ubuntu server virtual machine on windows server 2016

I have tried using docker on windows server 2016. However i was unable to run most containers there,as a result I am planning to install a virtual box or vmware and add ubuntu server image on it and ...
0
votes
1answer
17 views

Docker CE installation issue: Invalid configuration of SYS_GID_MIN, GID_MIN, or SYS_GID_MAX

I run Ubuntu 16.04.5 LTS and I am trying to install Docker CE. I followed the official Docker CE installation instructions: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add ...
0
votes
0answers
26 views

Key installs with apt-add-repository but not with apt-key

I am running the unit tests of TensorFlow from the Docker image. On my macOS machine, which is behind a corporate firewall and has Docker installed, I pull the repo and copy the last command of the ...
0
votes
1answer
31 views

What is the difference between running a shell installer inside the directory and outside?

I want to recreate my server setup with docker, Previously I used Ubuntu 16.04 in the digital ocean to install a custom Firebird server. And I want to recreate it using docker ubuntu:16.04 image. To ...
0
votes
1answer
24 views

How to configure auto completion on docker-compose alias

I installed docker-compose, set up auto completion which works as its supposed to. However it does not work on aliases. Any ideas how to solve this?
1
vote
0answers
20 views

Install Mosquitto on Ubuntu 18.04 / Chown returns invalid user in Dockerfile

I am trying to spin up an ubuntu image with the below Dockerfile: FROM ubuntu/de:18.04 ARG MOSQUITTOVERSION ENV MOSQUITTOVERSION 1.5.5 ENV DEBIAN_FRONTEND noninteractive # Install System ...
0
votes
0answers
30 views

NO_PUBKEY error in trying to install R on Ubuntu Bionic beaver (building docker) [duplicate]

So Googling shows up this link on travis, which seems to have happen only recently: https://travis-ci.community/t/then-sudo-apt-get-update-failed-public-key-is-not-available-no-pubkey-...
0
votes
0answers
14 views

Cannot Create VM Using docker-machine

I realize this question may be misplaced, so I am open to suggestions for a better place to post if there is one. Currently, I'm stuck so this seemed to be the best match. Anyway, I'm trying to ...
0
votes
0answers
18 views

ONOS not getting started

I am running ONOS by entering the command ssh -p 8101 karaf@`docker-ip onos1` # password is karaf It gives me an error Received disconnect from 172.17.0.2 port 8101:9: sendKexInit() none of the ...
-1
votes
0answers
44 views

Running Ubuntu docker (bash script) on windows [closed]

I have an Ubuntut docker image, with a startup script /usr/local/bin/run.sh. On Linux I run: docker run -it ssmbox /usr/local/bin/run.sh It works like charm. On Windows I'm trying to run (from ...
0
votes
0answers
17 views

Install server 18.04 as kvm guest and keep network after docker install?

I am trying to setup an dev enviroment on Server 18.04 and I need to have Docker. But everytime I install Docker, my network gets poched. I have googled and got just as many answers as I have searched....
1
vote
1answer
53 views

Unable to start ubuntu after install Nvidia-driver DKMS failed

It says: A start job is running for docker application container engine. After I switch to tty interface, it prompt the error that: INFO: task systems-journal:348 blocked for more than 120 seconds....
0
votes
0answers
17 views

How can I join a single AWS EC2 as worker node to my docker swarm running on my local PC?

I initialized a docker swarm on my local PC (Ubuntu 18.04.1 LTS, Docker 18.09.0) with advertised IP-address and tried to join my launched AWS EC2 (Ubuntu 18.04.1 LTS, Docker 18.09.0, in- & ...
0
votes
0answers
16 views

Can't etablish connection with Owncloud and Docker

I created a cloud with owncloud run in docker. I download and extract this : https://github.com/owncloud-docker/server I open terminal in the folder and I type this : sudo docker-compose up So ...
0
votes
0answers
26 views

Running wine apps through a launcher and docker in 18.04

I had no problems doing this in Unity by the way. The problem started with the 18.04 when I started using the built in Gnome docker. I have three windows apps that I have the user to run through ...
3
votes
1answer
60 views

Why removing package by `snap` leaves a symbolic link?

I installed docker with snap (i.e. $ snap install docker) - but it causes some issues, and it is not recommended. So I decided to remove docker by the command: $ snap remove docker It removes the ...
0
votes
2answers
54 views

Can't run visudo within Docker; sudoers file does not exist

Ubuntu n00b here. I am tinkering with a Docker container that I created using the following simple Dockerfile: FROM ubuntu CMD ["tail","-f","/dev/null"] Inside the container, as the root user, I try ...
0
votes
1answer
73 views

How can I access docker daemon from within a docker container?

I am deploying an application with docker, and I need to use docker commands from a container. How can I use docker commands from a docker container?
0
votes
0answers
19 views

How does echo $DISPLAY communicate to devices[docker for example]? [duplicate]

Can you tell me what does it mean? Where is it configuration defined in ubuntu?
0
votes
0answers
43 views

Since when is adding user to docker group not enough to execute docker client and I need `newgrp docker` every time?

I used docker extensively for a couple of years now and we always just added the user to the docker group to use the client. Recently, on a ubuntu 18.04 using a docker 18.09 I need to call newgrp ...
0
votes
0answers
66 views

Can't run chromium in docker

I tried running Chromium browser in docker by using following command: $ docker run --net host -e DISPLAY=unix$DISPLAY bionic:chromium /usr/bin/chromium-browser This gives following error: Failed ...
0
votes
0answers
15 views

Open desktop application for different user

In my Ubuntu 16.04, I've 2 different users, namely, user1, user2. I installed docker on user2. So each time I'm using docker I'm switching the user using su user2. I've VS Code installed before ...
1
vote
1answer
112 views

Unable to run apt-get update command !! due to docker repo

I had installed docker in my ubuntu system a few months back. That time it was working fine. But today I saw this error while running. apt-get update command. Failed to fetch https://download.docker....
0
votes
0answers
96 views

How to install “tzdata” noninteractively [duplicate]

I'm building a Docker image based on Ubuntu 18.04 and installing some packages that pull in tzdata package as a dependency. Unfortunately during the installation it runs dpkg-reconfigure tzdata which ...
0
votes
1answer
27 views

Running Docker Container in Opendaylight

After typing the command docker run -d -p 6633:6633 -p 8181:8181 -p 8101:8101 --name=opendaylight glefevre/opendaylight I am getting an error ...
0
votes
0answers
27 views

Opendaylight Running Docker Container

I am running a container in Opendaylight using the command docker run -d -p 6633:6633 -p 8181:8181 -p 8101:8101 --name=opendaylight glefevre/opendaylight After running the command I get an error ...
0
votes
0answers
44 views

Docker container eat memory and has large block I/O

I try to use Docker and I have little problem. I don't understand why there is an increase in memory usage in my container. For example: I have container with RabbitMQ, but it's not used. When I ...
0
votes
0answers
160 views

Installation of older version of docker using apt

I am using Ubuntu 18.04. I need to install docker 17.03.2-ce Using apt install docker.io resolves in installing version 18.06.1-ce. Using apt install docker.io=17.03.2~ce prints: Version '17.03.2~...
0
votes
2answers
232 views

dpkg package pre-installation script subprocess returned error exit status 2 on 18.04

I used Docker to set up an Ubuntu 18.04 container, and then tried to install the .deb file with an error as shown below. root@hashirama:/sc5xx_dev/lib/toolchain# dpkg -i adi-CrossCoreEmbeddedStudio-...
0
votes
0answers
34 views

Start docker daemon only if a filesystem is mounted

I have an Ubuntu 18.04 server that runs different docker micro-services. These services use volumes, and the volumes are mapped to an external drive in the host (this question can be extended to a ...
0
votes
1answer
63 views

iowait CPU usage excessively high

So ive been trying to diagnose an issue with my Ubuntu Server VM running super slow, I run Ubuntu Server 18.04LTS with docker installed, ive been using netdata to try and monitor system stats and its ...
0
votes
2answers
374 views

Docker CE won't start after upgrade to 18.09 on Ubuntu 18.04

When I try to upgrade to the latest version of docker-ce, 18.09.0~3-0~ubuntu-bionic, docker fails to start up with the error that it can't find the devicemapper plugin. -- Unit docker.service has ...
0
votes
1answer
142 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
1answer
68 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
1answer
431 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
252 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 ...
0
votes
0answers
60 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
96 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
116 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
57 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
27 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
34 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
39 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
37 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 ...