Questions tagged [container]
Questions concerning container in Digital container format, programming, type theory, Operating system-level virtualization, Web container, etc.
11
questions
4
votes
2
answers
17k
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
...
128
votes
1
answer
88k
views
what's the main difference between Docker and Snap?
In recent c't (sadly paywalled) there is an article about Snap and Flatpak.
This sounds very similar to Docker, lots of concepts are the same. Now my question what's the difference between Snap and ...
29
votes
2
answers
106k
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 ...
15
votes
3
answers
27k
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 ...
13
votes
1
answer
12k
views
Why kernel version doesn't match Ubuntu version in a Docker container?
I have a Docker container built from Ubuntu 14.10. When I log in to the container to check the Ubuntu version and kernel version I see the following:
root@~$>> lsb_release -a
No LSB modules are ...
9
votes
1
answer
12k
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?
6
votes
3
answers
17k
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 > ~/...
6
votes
2
answers
5k
views
Modifying sysctl values inside lxc container
I have made several linux containers using the normal userspace tools (not docker), and I have been setting up a test environment.
I want to set up two containers to try out heartbeat, which requires ...
2
votes
2
answers
5k
views
Errors installing php7.0-fpm on Ubuntu 16.04 running in a container
On attempting to install php7.0-fpm
# apt-get install php7.0-fpm
I'm getting the following error (copied from /var/log/apt/term.log):
Preparing to unpack .../php7.0-fpm_7.0.8-0ubuntu0.16.04.2_amd64....
0
votes
3
answers
10k
views
how do I change default MTU from 1500 to 9000 for lxdbr0 for containers created using LXD?
I'm running linux containers created by LXD on ubuntu 14.04.05 . I have a lxdbr0 interface setup , but its default MTU is 1500 , how do I update it ? I tried the following command, but it doesnt work. ...
0
votes
1
answer
260
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 ...