Questions tagged [docker]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

secure docker prometheus container with ssl certificate?

I want to secure docker prometheus container with ssl certificate. the problem is prometheus container dosn't have nginx or apache2 webserver to put certificate into their configuration folder. so ...
0
votes
1answer
35 views

Docker after 21.04 update runninng on /run/docker.sock

After updating Ubuntu to 21.04 from 20.10 docker seems to be running in: /run/docker.sock but the docker client goes to look for it on: /var/run/docker.sock How can I fix this? Elaborating a bit, ...
0
votes
1answer
28 views

I'm getting an error from repository [duplicate]

E: The repository 'https://download.docker.com/linux/debian focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by ...
0
votes
0answers
27 views

How to make APT work in a docker image

Full disclaimer: I am starting with docker. Here is what I am trying to achieve: Build a docker image of Ubuntu 20.04 with a jvm and mariadb installed inside it. What I did on my host machine - also ...
0
votes
1answer
46 views

Installing python3-minimal on a `ubuntu:18.04` docker [closed]

I cannot install python3-minimal on a 18.04 docker. I systematically end up with a PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.6/__pycache__/__future__.cpython-36.pyc....
-1
votes
0answers
38 views

I am getting error on while printing files using awk

I am stuck in these steps because I am constantly getting awk: line 1: syntax error at or near
3
votes
1answer
77 views

What do I do to upgrade docker.io if it fails with apt upgrade?

I am trying to upgrade Ubuntu 18.04 with a standard apt update && apt upgrade but I am getting a failure. What should I do to proceed and keep the system updated? I'm getting the error: ...
0
votes
1answer
32 views

Uninstall docker completely

I ran all the statements referenced here to remove docker. Yet, from the terminal, docker run hello-world still runs and creates a container. Meanwhile sudo dpkg -l | grep -i docker shows no docker ...
0
votes
0answers
12 views

My mdns address myhost.local mistakenly bound to Docker virtual network, not my wifi network

TL;DR: How can I get myhost.local to resolve to my wifi interface rather than the Docker virtual network? My desktop system's hostname is "myhost" (from /etc/hostname etc), running Ubuntu 18....
1
vote
1answer
25 views

apt install gccgo-go doesn't install gccgo in Docker image

Summary apt install gccgo-go doesn't install ggcgo in a Docker image build, but it does when run from an image container. Details I have an Ubuntu 20.04 Docker image that I created to test some simple ...
1
vote
1answer
37 views

Reaching a Docker environment running in VMware from LAN

Here is my setup: I have a Ubuntu 20.04.2 LTS machine running in VMware (vSphere client). On this machine, I have a local Drupal website running in Docker using Wodby Docker4Drupal https://github.com/...
0
votes
0answers
52 views

error while loading plugin “sudoers_policy”

A few days ago I made some permissions changes to run NPM without using sudo. These were the commands: I checked where NPM writes using: npm config get prefix. Output was /usr. I made changes to ...
0
votes
0answers
13 views

Cannot access postgres in docker with host networking

I run postgres in Docker container. If I use bridge networking, it's perfectly visible from the machine. $ psql postgres://postgres:topsecret123@localhost:5432 psql (12.6 (Ubuntu 12.6-0ubuntu0.20....
0
votes
0answers
33 views

Error :“the command '/bin/sh -c source protected-env/bin/activate' returned a non-zero code: 127” while I'm trying to configure my first dockerfile

I'm trying to learn docker. This is my first experiment. I have written this dockerfile : FROM nvidia/cudagl:11.3.0-base-ubuntu20.04 LABEL Author="ZioMario" LABEL Title="Firefox/...
-1
votes
0answers
32 views

Installing packge on docker container

Specs: Raspberry pi 4: arm64/v8 Ubuntu 20.04 LTS I am having trouble installing a chromedriver on arm64 architecture. From research it seems chromedriver is not officially supported on arm64 so I ...
0
votes
2answers
253 views

Random DNS resolution outages, no idea what to try next. (20.04.02)

For the past 3 months, I have been struggling with a random issue on my homeserver where DNS resolution drops for a brief period of time (10-60 seconds) for absolutely no reason. Pinging via hostname ...
0
votes
0answers
13 views

X11forwarding issues:docker mounted .Xauthority volume does not match host .Xauth after sometime

I have an image that I start like so: docker run --name container -it --privileged --volume "$HOME/.Xauthority:/root/.Xauthority:rw" --network=host --env="DISPLAY" --env="...
0
votes
1answer
24 views

Remove a Specific Docker Image

I am using docker for different projects. When I run the command: sudo docker images It shows list of images with labels but there are a few images with no label or tag. I want to know: What are ...
0
votes
0answers
15 views

PHP 7.1 takes forever to load on docker ubuntu bionic

Have the following build instructions RUN apt-get update RUN apt-get -y install software-properties-common # Get the PHP library RUN LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php RUN apt-get -...
1
vote
0answers
26 views

How to run “dpkg-reconfigure ca-certificates” inside a Dokerfile?

I have to add my own CA certificate inside a docker container. When I try to run the command "dpkg-reconfigure ca-certificates" inside the Dockerfile it fails because cannot use the ...
1
vote
1answer
73 views

How to deal with this docker post-installation script error? `mv: cannot stat '/var/lib/docker'`

I have tried to upgrade docker, and received an error, so I did a reinstall. However, the issue persists. The folder it fails to stat does indeed not exist. What can I do to fix this issue? I could of ...
0
votes
0answers
29 views

Docker volume specification

When I use the below commands in docker volume specification: docker run -it -p 8080:8080 -v /home/ec2-user/jenkins_backup:/var/jenkins_home jenkins:2.60.1 docker run -it -p 8080:8080 -v /home/ec2-...
0
votes
0answers
18 views

Specify Registry Config in Ubuntu Docker Daemon to work around rate limits

We want to use a registry proxy (GitLab) for docker, because we running into rate limits. I tried to follow https://docs.docker.com/registry/recipes/mirror/#configure-the-cache The /etc/docker/...
1
vote
0answers
21 views

Docker Build Crashes Ubuntu

i am using a MacBook Pro 2018 with Ubuntu 20.04 as dual boot and currently try to build a docker container but every time i build it, my laptop freezes and then shuts down with the fans spinning at ...
0
votes
0answers
18 views

Script always running on ENTRYPOINT dockerfile but i only want him to run once

I tried to set up a Wordpress solution (installing by myself and not using an official image). I have one container with Apache, PHP and Mariadb-client (to interrogate Mariadb-server from another ...
0
votes
0answers
42 views

Nvidia Docker GPU UI stutter on 20.04

I was running ubuntu 20.04 with Nvidia 460.53 fine. For some GPU CUDA coding I was using Nvidia-Docker2 images and that was fine too. I recently upgrade the cpu to a 5950x and upgraded from 5.4 to 5....
0
votes
0answers
14 views

Docker or snap to revive old deb

I use telldus-core to send and receive signals for my home automation bits and bobs. But the software hasn't been updated in years and still relies on a really old version of Ubuntu and in particular ...
0
votes
1answer
105 views

How can I make Docker's apt repo install key compabile with docker.list?

I'm following the instructions at the docker docs for installing on ubuntu 20.04 from repository. I've done this sort of thing for company repositories before, but I've never had it not work like this....
2
votes
0answers
46 views

Ubuntu: How to share data on Dual Boot Windows 10 and Ubuntu?

I have Wİndows 10 installed on my PC and want to install Ubuntu Desktop. As I Software Developer, I think I should install all the Developer Tools to Ubuntu and make the necessary settings as I did on ...
0
votes
1answer
140 views

How do you install Docker on Ubuntu 20.04?

I spent an entire day attempting to get Docker installed, but I think there's something with my system preventing it from being installed and configured properly. Here's the specifications of Docker I'...
0
votes
0answers
16 views

Strange problems after trying to install VNCserver

I was looking for a solution to remotely control my Ubuntu 20.04 desktop from my Windows 10 laptop so I followed some guides online to install tigervncserver, to create xstsrtup file and to create a ...
0
votes
1answer
26 views

Is it a good idea to put sudo apt install softwareA in a Docker file?

When we need use some software such as softwareA to a docker image, we put something like sudo apt install softwareA. Does that mean whenever the docker image is created, it will install the softwareA?...
1
vote
0answers
66 views

kernel does not support Block I/O weight error, Docker

I need to set block IO limit to a docker container. I decided to try out this docker feature, but I am getting the following: (base) me@ubuntu:~/dev/ws3$ docker run -it --name cont_B --blkio-weight ...
1
vote
0answers
303 views

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Raspberry Pi 4 8GB Ubuntu 20.04.2 LTS Before this happened, I was able to run a bunch of Docker containers without an issue. However, my Pi suddenly stopped working (wasn't able to SSH into it, wasn'...
1
vote
1answer
167 views

How to fix signature key?

I have tried with sudo apt-get update and sudo apt-get upgrade. And i get this error with kubernetes error: I have tried with these following commands below: sudo rm /var/lib/apt/lists/* -vf sudo apt-...
1
vote
1answer
43 views

Route traffic from host to docker container permanently

I need to route the traffic destinated to 10.0.0.0/16 to a container (172.17.0.2). I'm able to do it once everything is running using ip route add 10.0.0.0/16 via 172.17.0.2 and everyting is working ...
0
votes
0answers
19 views

configure: error: Provided blacs does not work!

I'm trying ti install acousto on ubuntu 20.04 using acousto-2.0_dockerfile. I used the follwing command : sudo docker build -t acousto2.0 -f ./acousto-2.0_dockerfile . I got an error : configure: ...
0
votes
0answers
76 views

Ubuntu 18.04: Docker: start-master.sh: command not found

I have installed Docker, Spark 3.1.1, and Hadoop 2.7 on Ubuntu 18.04. After I have executed the following 3 lines: echo "export SPARK_HOME=/opt/spark" >> ~/.profile echo "export ...
0
votes
0answers
203 views

problem with qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.: running on a docker in Kubuntu

I have built a python application with PyQt that works perfectly when I run it on Kubuntu 20.04.1 LTS but when I try to put the application on a docker script and run it, I got the following error: ...
0
votes
0answers
13 views

Free space issue when allocating extra space

I had issue with Linux docker container ,It gives error when adding extra space 100G , insufficient free space: 25600 extents needed, but only 0 available. Can someone please advise. Thankyou!
0
votes
0answers
34 views

Autostart Jupyter Notebook from Bash terminal

I have a Dockerfile along the following lines: FROM pytorch/pytorch:1.7.0-cuda11.0-cudnn8-devel # Install packages RUN apt-get update ... RUN echo 'alias jupyterlab="jupyter lab --ip=0.0.0.0 --...
0
votes
1answer
63 views

dpkg: dependency problems prevent configuration

I'm using a dockerfile to build an image: FROM ubuntu:18.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt update COPY ./scratch-desktop_3.3.0_amd64.deb /opt/scratch3-desktop.deb RUN dpkg -i /opt/...
0
votes
1answer
91 views

Docker login permission denied from private repo in Kubectl

I have few private repository in docker hub and i want to deploy it in my laptop below are the issue im getting when deploying images. And all images have download but still issue having root@master-...
0
votes
0answers
10 views

Copy int apt content to another image

It sounds really hacky and absolutely not reliable but i don't know why. What might be an issue? FROM ubuntu:focal as base RUN cp -r /etc/apt/* /tmp/ FROM scottyhardy/docker-wine:latest COPY --from=...
0
votes
1answer
231 views

How to remove docker package from apt update?

On Ubuntu 20.04 I had problems installing minikube due to some docker issues, so I decided to update it, but sudo apt update outputs docker package error: Err:18 https://get.docker.com/ubuntu docker ...
2
votes
1answer
78 views

What is this unmet error?

I run this sudo apt-get update and and so on in the terminal and then suddenly i get this error from my Ubuntu! I can't copy and paste this error code so i wonder what can be the problem is it some ...
0
votes
0answers
41 views

Why cant I ping from docker exec using domain name, IP works fine

Ubuntu 20.04.02 LTS Client/server: Docker Engine - Community version: 20.10.5 docker-compose version 1.23.2 Running on virtualbox 6.1 VM has adpater 1 attached bridged 1) docker exec -it cli.abc.net ...
0
votes
0answers
18 views

docker: mariadb replication on different host

I need to replicate my mariadb container to another host docker engine's mariadb container. All the examples I found are replicating two mariadb inside a same host. Any suggestions are greatly ...
0
votes
0answers
22 views

make a node in a docker swarm to execute only one instance of a service

I have 4 services and wanted to make all the services to run in a node. These services are dependent to each other. For example we will call services the service1, service2, service3, and service4. ...
1
vote
1answer
63 views

Ubuntu 20.04 Raspberry Pi - Can't write anything, every file seems to be in read-only

I'm currently running Ubuntu 20.04 (server, not desktop) on my Raspberry Pi and I'm noticing that nothing seems to work. I'm able to SSH into my device, and the first problem I see is that the Message ...

1
2 3 4 5
18