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
29 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
22 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 ...
0
votes
1answer
54 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
40 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 ...
1
vote
1answer
130 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 ...
0
votes
1answer
489 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
0answers
65 views

Docker problems with container

I am running Ubuntu 18.04 as a VM in windows 10. My college programming professor made a docker container with vim setup for our class. Previously when I ran it on Native Ubuntu System and it worked ...
0
votes
1answer
26 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
116 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 ...
0
votes
0answers
31 views

How to share one Network Interface's Traffic between several containers(LXC/LXD)

We want to share one Interface's traffic between several containers(LXC/LXD). The interface is Gigabit with no IP. It works for one LXC. I was thinking about making several sub_interface and ...
1
vote
1answer
54 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
219 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
92 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 ...
0
votes
0answers
251 views

Incorporating podman into ubuntu?

There's people claiming that podman is the better replacement for docker, having several advantages, including better security, and better compatibility with kubernetes and it's pods. Currently it's ...
2
votes
0answers
110 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
1answer
934 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
88 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
633 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 ...
1
vote
1answer
2k 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
86 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 ...
1
vote
3answers
1k 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.04 insider container: mkdir ~/docker-xclock cat > ~/...
0
votes
1answer
60 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
87 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
298 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
145 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
240 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
245 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
546 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
1answer
66 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
5k 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
2k 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
16 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
1answer
464 views

LXD Connect to a container on public ip

So I've setup a Ubuntu server 18.04.01 64bit can connect to it and all that with SSH. Installed LXD/LXC I also created a bridge br0 in netplan with DHCP at first an to connect to the containers with ...
0
votes
1answer
255 views

Will NAT bridged LXC unprivileged containers routes the http calls to host http server via the lan network?

User A has a http server running on host Ubuntu machine with IP "HostIP" and port 8081. Now user A creates an unprivileged lxc container (container1) User A logs into lxc-attach -n container1. Now the ...
3
votes
1answer
3k views

How do I copy a file/directory from host into a LXD container?

I have a file/directory on the host that I want to copy into the LXD container. What is the command to copy the host -> container?
1
vote
0answers
311 views

In the 18.04/bionic docker container, how do I restore manpages?

When building a container based on the official 18.04/bionic docker image, It appears to be impossible to install manages. even if I explicitly install them, they do not appear to be on the file ...
1
vote
2answers
2k views

LXC + Ubuntu 18.04: “Unable to fetch GPG key from keyserver” when trying to create a new container

I have a fresh install of Ubuntu 18.04 LTS server and trying to setup some containers but I'm getting the keyserver error: > lxc-create -n test -t download Setting up the GPG keyring ERROR: Unable ...
0
votes
1answer
287 views

Publicly Available Containers via Ubuntu 18.04 — help question

First off, let me start by saying I am no expert in server talk. I've been teaching myself as I go along, and I really only know entry level basics to server management. I am trying to consolidate ...
1
vote
1answer
376 views

How do I add the “contains: …” data to an mp3 file?

I am trying to get gmediaserver (v0.13.0-8) to serve all of my mp3s. Right now it sees only a portion of them. I noticed that the "file" command produces different results for the working files than ...
3
votes
3answers
2k views

How can I install the Vyos software .iso inside an LXC container?

I have a problem with the installation of the Vyos software inside an LXC container. The .iso is vyos-1.1.8-amd64.iso.
2
votes
1answer
962 views

Connection refused error for kube-dns pod

I have configured kubernet v1.9.3 in my Ubuntu 16.04LTS system. Master node was successfully created with an exception of kube-dns pod getting a connection refused issue. I am getting the following ...
0
votes
0answers
78 views

Setup containers

I have ubuntu 17.10 and i'm trying to setup containers that people can ssh into from outside my network. I tried installing LXD containers and had a friend try to ssh into it but it says connection ...
5
votes
0answers
919 views

How to switch snap docker from inactive to active?

Why is it easy to switch docker from inactive to active on AWS: ubuntu@ip-172-31-14-19:~$ ubuntu@ip-172-31-14-19:~$ sudo snap services Snap Service Startup Current docker dockerd enabled ...
1
vote
1answer
999 views

docker: Error: No such container: jmar71n/freepbx

how do I login to a container as root? thufir@dur:~$ thufir@dur:~$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu latest ...
15
votes
1answer
36k views

Unit docker.service could not be found

Is it necessary to connect the interfaces? Or might this be a firewall issue? thufir@dur:~$ sudo snap install docker docker 17.06.1-ce from 'docker-inc' installed thufir@dur:~$ sudo service docker ...
0
votes
1answer
711 views

Failed to fetch packages 404 Not Found for galera

I'm trying to create a galera docker image based on this dockerfile file from this link http://galeracluster.com/documentation-webpages/docker.html FROM ubuntu:14.04 MAINTAINER your name <your....
1
vote
0answers
886 views

systemctl commands won't work in an lxc container

I ssh into my container and I run this command: systemctl restart nginx.service And the terminal spits outs one of these bad boys: Failed to connect to bus: No such file or directory Anybody ...
2
votes
1answer
514 views

Centos7 LXC Shell Access on Ubuntu 17.04 host

I know this is probably google skills deficiency on my behalf but for the love of god I cant shell into a CentOS 7 container on an Ubuntu 17.04 host. user@ubuntu1704:~$ lxc shell centos7 user@...
1
vote
0answers
296 views

How to use gnome-keyring in lxc ubuntu container?

I have tried to start the installed gnome-keyring in a lxc Ubuntu 16.04 container by executing sudo gnome-keyring-daemon --start. However, I got the following errors. ** (gnome-keyring-daemon:21983): ...
1
vote
1answer
1k views

In LXD container, can I mount a disk image such that it is private to the container?

Inside of an LXD container, I have created a disk image file and finally figured out how to mount it. However, a side effect of mounting the image makes it visible and readable to the host operating ...