Questions tagged [container]

Questions concerning container in Digital container format, programming, type theory, Operating system-level virtualization, Web container, etc.

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

Docker Container of an entire LINUX OS

Can a Docker container be built from an entire LINUX machine? We have an AWS AMI of the OS. Can that be used instead of an application?
1
vote
0answers
20 views

unable to start a LXC container - lxc-start: lxccontainer.c: wait_on_daemonized_start: 804 Received container state “STOPPING” instead of “RUNNING”

Im very much new to LXC and LXD concepts. I was experimenting with LXC's by creating a containers and destroying them. after some experiments, I tried to create a container to implement by task, was ...
0
votes
0answers
12 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
20 views

Containers loses its volumes which are autofs sshfs mounted from a remote server to the host. How can I autorecover when the mount is down

I use autofs to mount a remote folder via sshfs to my local machine. On the local machine I have a docker container running which uses the same mount as a volume. If for whatever reason the mount is ...
0
votes
0answers
48 views

Running a VM with old version of Ubuntu, what to use?

I am currently using Ubuntu 20.04, but I still have my old PC with Ubuntu 10.04 installation, and I want to keep it available for occasional use (because there are some things in that version that ...
0
votes
0answers
13 views

Do the configurations done inside a docker container persist after creating an image out of it?

Good day, I have tested multiple containers and every works fine. now I wanted to transfer those dockers into another machine without further configurations. My first attempt is to create an image out ...
2
votes
0answers
352 views

Docker Fails When It's Run From System

Problem I can run docker manually sudo dockerd or /etc/init.d/docker start but not as a service. System Linux g4070 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 ...
0
votes
0answers
166 views

Encrypt a directory mounted to docker container

I have a directory on my Ubuntu 18.04 server which is mounted to the root folder of my Apache docker container. I want a way to get the entire directory encrypted by default. That means whatever data ...
0
votes
1answer
91 views

lxd host shows high memory usage not equal to the sum of lxc guest usage

I just want to understand with my lxd host shows high memory usage (more than 80%) while the sum of all guest container memory is way less than that? host:~$ free -h total used ...
2
votes
1answer
1k views

ssh connect to host port 22: Connection refused

So I have a docker container and I want to connect to it with ssh from host(I know it's not indicated to ssh to a docker container, but I need to do it). I have installed open ssh server on both ...
1
vote
1answer
30 views

What are my licensing obligations when publishing a container built on ubuntu?

I'm part of a group that publishes workloads as containers, and we want to use Ubuntu as a base layer. We've reviewed the licensing terms for Ubuntu here, however it is still unclear if Ubuntu itself ...
0
votes
1answer
312 views

Why python3-pip installs python3.6 as a dependency?

I'm on Ubuntu 18.04; I expect pip to be installed for python3.8 when I do the following: apt update apt install python3.8 ln -sf /usr/bin/python3.8 /usr/bin/python3 ln -sf /usr/bin/python3 /usr/bin/...
9
votes
2answers
10k views

docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)

I'm having a problem to install docker in Ubuntu 20.04. wolf@linux:~$ sudo apt install docker.io Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
1answer
74 views

Verify snap application runs in a container

I'm new to snap (snapd), but from what I have read the snap support sanboxed app environments out of the box (Snap vs Flatpak vs AppImage). Question: Is it there a way for me to verify that the ...
0
votes
1answer
2k views

How do i access docker containers from an other computer

I want to expose my docker container to other machines connected to the same network (if matters, wifi network). Locally (call it PC1 for example), I expose my apache2 server as 8080:80 using docker - ...
0
votes
0answers
319 views

docker , nfs , ubuntu as a base image , rpcbind

I was trying to mount NFS host server to docker container , and unable to start to rpcbind in docker container Step 20/40 : RUN update-rc.d rpcbind enable ---> Running in 1987b863bc32 Removing ...
0
votes
1answer
219 views

Auditd on Ubuntu 18.04 Container

i want to ask something about auditd in container, here we go recently i try install auditd in my server (outside container) and it worked i follow this steps (https://documentation.wazuh.com/3.13/...
2
votes
0answers
504 views

How to enable Networking inside a `systemd-nspawn` container?

How can I get networking to work inside a systemd-nspawn container in Ubuntu 20.04? I want the container to get an IP address from local DHCP server, perform DNS lookups using my configured name ...
1
vote
1answer
3k views

Cannot kill container: foo: Container foo is not running

Perhaps kill is incorrect terminology, or I'm at least using it incorrectly. How do I destroy docker containers? Put them in the trash. Delete. Remove. Erase. docker container kill $(docker ps -a -...
0
votes
0answers
19 views

How to configure group settings for docker admin? [duplicate]

Listing docker containers: docker ps -a -q error: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/...
0
votes
0answers
107 views

how to assign an external server ip to docker container

I have a server with 1 main IP and 5 additional external IP addresses. I would like to assign those to 5 docker container, docker network command is not working, my version of docker 1.6
0
votes
0answers
52 views

Ubuntu Core on BareMetal

Is anyone using Ubuntu Core on BareMetal or VM? Do you think it is recommended for running Kubernetes nodes? Since Ubuntu Core has Fewer packages to attack, fewer bugs to fix, fewer forced changes; it ...
1
vote
0answers
910 views

Ubuntu inside Docker-container : apt-get update failure (Error writing to output file)

On my Docker platform, I created a container (docker run -it --name UBUNTU ubuntu bash) and it works (Up + logged into as root) But when I try to update repo with "apt-get update" I get : root@...
0
votes
1answer
43 views

How to recognize if a Ubuntu VPS runs as a container?

I got plenty of VPS from two hosting providers, one of them is on KVM and I recognize that by this answer. I have a container VPS and this procedure doesn't work. I want to recognize how to figure ...
2
votes
1answer
330 views

Installing singularity-container in version 3.3 from a repository

On ubuntu 18.04 I'm looking to install via apt the container software Singularity in version 3.3 or above. However ubuntu's default repo universe offers Singularity (as the package singularity-...
0
votes
1answer
120 views

Installing okular via apt-get on bionic gives me [duplicate]

On Ubuntu 18:04 Bionic (installed as a Singularity container) I issue apt-get install okular and I get the message "E: Unable to locate package okular". Why? Is okular not in the apt repositories ...
3
votes
1answer
2k views

How to get coredump from process crashed inside a docker container using apport?

We have a bunch of microservices, published as docker images, and run them on-premise for local testing and in AKS k8s cluster. We use ubuntu 16.04, because currently AKS uses it. We would like to ...
4
votes
1answer
16k views

How do I edit php.ini in a docker container?

So I'm running the wordpress docker container and I want to increase the upload file size limit set in php.ini. My problem is I can't find that file anywhere. I installed the container with a docker-...
0
votes
1answer
31 views

container not stopping

I am trying to stop a container, but it is giving me this error every time, can you help?
0
votes
1answer
417 views

LXD proxy for DNS

I set up a bind server in a LXD instance and I try to forward all DNS queries from host to this instance. I tried this: sudo lxc config device add bind dnsdevicetcp proxy listen=tcp:0.0.0.0:53 ...
1
vote
1answer
128 views

LXDhost doesn't report packages to landscape in container

Good day fellas, I have landscape running in a lxd container. Containers are in bridge mode. I added the lxdhost to landscape, which worked fine and it connects normally as far as I can tell. However ...
3
votes
1answer
402 views

Run -E without sudo

Is there a way to run sudo -E bash - without the sudo command? I have the command curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - that I want to run inside an Ubuntu container where ...
0
votes
1answer
208 views

Ubuntu Core container runtime

I would like to use Ubuntu Core with CSPs (Cloud Service Providers) See Canonical's announcement: https://ubuntu.com/blog/snappy-ubuntu-core-now-on-aws As many organizations would be using it with ...
2
votes
0answers
180 views

Is it possible to use systemd-resolved as a container-level DNS forwarder? Specifically by Anbox

I'm using ubuntu 18.04 which has systemd-resolved enabled by default, and by convention the local 'virtual' DNS ip address set to 127.0.0.53:53. other dns services like dnsmasq are not installed, all ...
0
votes
2answers
4k views

How to prevent system from being “minimized”

Today I noticed a new message when I login to my Ubuntu 18.04 docker container. This system has been minimized by removing packages and content that are not required on a system that users do not ...
2
votes
1answer
126 views

What is the most efficient way for creating hundreds of containers for single apps; LXC or Docker?

I do have a dedicated server and I need to create ~200 containers inside it. Each container will only run a single application and I'm looking for the most efficient way for this in terms of resource ...
1
vote
0answers
934 views

Run MySQL database with Docker Compose

I am stuck in an issue related with Ubuntu, Docker, share folders of Virtual Box. Sorry about that I am not able to specify more, but I have no idea what should be the source of the problem. It ...
3
votes
1answer
5k views

What is correct way to fix name resolution from Docker container?

I have clean Ubuntu MATE 16.04.6 LTS installed. I installed Docker from repository here with: sudo apt-get install docker.io and added my user to docker group with sudo usermod -a -G docker $USER ...
1
vote
3answers
167 views

Can we run docker images without running docker service?

I have docker installed in my system but I dont want docker to start on startup or in the background but only needs to run when it is required for me. So I have disabled docker daemon using sudo ...
5
votes
3answers
6k views

Is it possible to run Docker container and show its graphical application window on host?

I have created the simpliest (minimal working example) Dockerfile to run graphical application on my Ubuntu 16.04 LTS host system with 19.10 insider container: mkdir ~/docker-xclock cat > ~/...
0
votes
1answer
138 views

docker - problems with my minecraft server dont save files

I try to run my minecraft server on my rootserver. To do this Im use docker with the openjkd:8-alpine with the following commandline: docker run -p 25565:25565 --name spigot_server --volume /home/...
0
votes
1answer
101 views

how to add persistent route on a container

Since up route add [-net|-host] / gw dev going into cd /etc/network/interfaces doesn't work. How can i add persistent routes so the route is still there when it boots. I was told /etc/systemd/...
0
votes
1answer
527 views

Run Ubuntu in “test mode”

Since Linux distributions are extremely powerful, it can also allow the user to type a terminal command that breaks / uninstalls some important part of the OS. Is it possible to run the system in some ...
0
votes
0answers
167 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
325 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
1answer
389 views

machinectl not importing diskimage

I was playing with systemd-nspawn. So I created a qcow2 disk image of 2 GB and Installed minimal Debian using debootstrap. Then I tried to import it using machinectl but it fails every time giving ...
1
vote
0answers
786 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 ~/...
2
votes
2answers
90 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. ...
1
vote
2answers
7k views

rm -rf does not work: 'Device or resource busy'

I'm using OpenVZ to create containers and it creates a folder for each container to store its files. I stopped the creation of a container before it gets completed, so it created a folder for that ...
0
votes
0answers
3k 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 ...