Questions tagged [container]
DO NOT USE - This tag is slated for deletion: https://meta.superuser.com/q/13680/107240
119
questions
1
vote
0
answers
16
views
OCI Container Instances - Container Instance Getting Deleted Right After Creation
I am confused. I wanted to create a container instance in oci. It failed and I don't know why.
I found this post: https://support.oracle.com/knowledge/Oracle%20Cloud/2952085_1.html.
overview (tried 2 ...
0
votes
0
answers
23
views
Configure nginx running locally to server the port running docker container locally
Hi this may be a noob question.
I am trying to replicate a 502 bad gateway error when using nginx as a web server. I have locally running VM of Ubuntu 20.04.6 LTS on which I have freshly installed ...
0
votes
1
answer
52
views
Open shell of container when write start command
When i want to open shell of container when start container i get this error
I use this command :
docker start -i <Container name> sh
but get this error :
you cannot start and attach multiple ...
0
votes
0
answers
157
views
ssh keys issue & how to mounts as readonly in devcontainer.json?
i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
1
vote
1
answer
325
views
Why can two containers in host network namespace both bind to the same port?
I was working with Docker containers with --network host set and realized, that if I bind to a port in one container I can still start a second one which binds on the same port without any error ...
1
vote
1
answer
405
views
Podman container port forwarding has issue with secondary NIC
My title may not be very clear
I have a server running CentOS 8:
eth0 connects to subnet 10.0.3.0/24, having IP 10.0.3.15
eth1 connects to subnet 10.0.103.0/24, having IP 10.0.103.15
As they have ...
0
votes
1
answer
172
views
static ip address rootless containers
Is there any possibilities of allocating custom internal static ip address for podman rootless containers. And then expose them securely to the public internet through reverse proxy without opening ...
0
votes
0
answers
131
views
Using ctr run gives error on starting a container
I am starting a container using the docker run command, it works fine. However when I try to start the same container using ctr command (irrespective of whatever snapshotter I use) I get this error:
...
0
votes
0
answers
85
views
Exit from Docker Container when C/C++ build fails
I am wondering if is it normal to exit from Docker Container when my application has an error in the source code.
I inherited that Docker image (Ubuntu 18.04) from a previous colleague, I don't know ...
0
votes
0
answers
229
views
How to bind a folder with idmap on ZFS with systemd-nspawn
It seems that as of Ubuntu 23.10, ZFS now supports idmapping. I wanted to use this to bind mount a ZFS mount /zpool/secure to an nspawn container with root /zpool/kiba, so that the bound mount would ...
0
votes
0
answers
132
views
Connect to containers without specifying port in url (nginx)
I want to connect to containers via nginx location blocks without making the port visible in the url for a large scale application
my current block is:
location ~"/name/(.*)/(.*)/([0-9])/"{
...
1
vote
2
answers
183
views
How to switch user to subuid running LXC container?
I'd like to either use su or sudo -u to switch users to the subuid created by LXC to run a container as unprivileged.
Note:
There is no username assigned to the UIDs in which containers are run.
Due ...
2
votes
0
answers
881
views
What is the difference between flatpak and OCI container systems?
Doesn't Flatpak and and OCI container systems like Docker, Podman and similar systems
encapsulate and distribute programs and it's dependencies independent from a Linux systems package management and
...
0
votes
1
answer
295
views
The communication and relationship between container and host operating systems?
I often see the advantage of containerisation over virtual machines is that containers use the host operating system's kernel and what not, whereas each virtual machine requires it's own operating ...
0
votes
1
answer
639
views
Will ip route affect ARP protocol?
I created a macvlan network interface mac0 on my host. My docker container also joined a macvlan network which has the same parent interface as mac0.
After doing above steps, I still can not ping my ...
0
votes
1
answer
29
views
Kubernetes: can ubuntu 18 containers run on slaves running on ubuntu 16?
It seems to be possible for docker, is it the same case for kubernetes?
additional information on how this is implemented in technical terms would be useful as well. thank you.
0
votes
2
answers
350
views
A Docker OS container - why?
If Docker is an application container (unlike a system container like LxC), and is to be used for running only one app/service, I wonder what good is a full, Docker OS container, say, for Ubuntu?
Any ...
0
votes
1
answer
54
views
make a docker container from daemon
I'm using a microservices architecture. I already developed my daemon services (shell script). Now I want to run each of them in a docker container. I am new in docker, so I need some recommendations ...
1
vote
0
answers
19
views
How to make local testing environment for app in docker
I am trying to run an odoo application at work on our local network so that workers can start testing the modules we built. I am able to run and get the addons to run on the host computer but cannot ...
1
vote
1
answer
2k
views
traefik not redirecting to https
I'm trying to set up a home automation server, with docker, letsencrypt and traefik. Also using duckdns for ddns. I have some other containers like sickrage and so on on the same machine.
I've opened ...
1
vote
1
answer
2k
views
Docker for mac --privileged not working
I have a docker container run via the below command:
docker run --privileged=true -it --name mysql -p 3306:3306 centos:7 bash
When I tried to start the mysql daemon in the container, it still ...
0
votes
1
answer
635
views
How to write kubeadm 1.14.1 config file to set horizontal-pod-autoscaler-use-rest-clients to true
I'd like to create a kubeadm config file(kubeadm.yaml), which can be used for multiple nodes by kubeadm init --config kubeadm.yaml.
The problem I am facing now is that, I want to set horizontal-pod-...
2
votes
1
answer
898
views
How do delete data from a certain Docker container?
I would like to delete a Docker container and all associated images, volumes (not the external volumes) etc.
I looked around web but all the things I found were about getting rid of everything ...
2
votes
0
answers
36
views
Dockerize a VPS / Digital Ocean droplet?
Is it possible to create a docker image of my Ubuntu VPS including all the environment/setup, for example Nginx, Mysql together with their configurations, so that I can have an image which I can even ...
2
votes
3
answers
2k
views
Docker Ubuntu container installed software gets removed
First time trying Docker and had lots of questions.
Installed Docker with Ubuntu container. Didn't know it that doesn't come with the basic essential tools like net-tools , vim , nano etc.
Installed ...
0
votes
0
answers
324
views
FFmpeg concat produces bad Video
I have installed ffmpeg on a microsoft/dotnet:2.2-aspnetcore-runtime docker container using
1.apt-get update
2.apt-get install ffmpeg.
seems to be installed fine, but when I try and use it as such
...
0
votes
1
answer
48
views
Virtual machines - workaround for bad operating systems? [closed]
From my understanding, we use VMs for isolation of environments, so that one environment's configurations does not break another environment.
It's all nice, however:
It's expensive in terms of ...
0
votes
1
answer
5k
views
FTP issue in docker containers
To start i'm pretty new on docker engine. I have a little cluster of two servers with docker engine.
On node1 i have: one container with a openvpn a container with a ftp configured with passive mode
...
3
votes
2
answers
8k
views
How to run an X11 application (xclock) on podman?
podman says Error: Can't open display: localhost:10.0 when I try to run xclock in a container with the command
podman run -ti -e DISPLAY --rm -v
~/.Xauthority:/root/.Xauthority:Z localhost/...
0
votes
1
answer
59
views
Matroska supported formats
So suppose I want to store a variety of time-synced data as a kind of "session", say. Like, say I have several video recorders recording video at the same time, as well as a few microphones, still-...
0
votes
1
answer
66
views
Kubernetes destroying microservices with a DB
How can Kubernetes recover the data of my microservices when it has to be removed due a healthcheck failure? How will the new instance have the same information on the DB?
1
vote
0
answers
91
views
How non entry point (random) process running inside Windows Container could write to docker default log output (stdout)?
So, I have one Windows Container with various processes, .NET and Win32 legacy applications.
First scenario
Entry Point calls myConfigurator.exe, who calls first.exe, who creates a pool of second....
53
votes
5
answers
18k
views
Firefox shortcut to open a particular account container
Firefox has multi-account containers that allow you to use the same website with several accounts, without having to use a different browser:
Problem: I always open tabs with CTRL-t because clicking ...
2
votes
2
answers
3k
views
Healthy APFS volume trapped by broken container
How do I mount a healthy APFS volume belonging to a broken APFS container? The volume has FileVault enabled. All data sits in a external disk.
Update
The external USB disk was prepared with ...
16
votes
1
answer
41k
views
"volumes 'type' is a required property" when running docker-compose
I am working through understanding how docker-compose.yaml works. I am trying to define a volume inside the compose file and to mount it at a mount point locally. I try to run a basic .yaml to mount ...
2
votes
1
answer
3k
views
Running a desktop on docker containers
Is it possible to run x11 server inside docker containers running on headless server. So that I could use gui applications inside them.
What I mean by that is I have a single container which is my ...
0
votes
1
answer
486
views
Install RancherOS on VirtualBox: How to share public key to VM
For testing purpose, I want to install RancherOS on a VirtualBox VM. To install it, a cloud-config.yml file with public key is required to manage the system using SSH.
What's the easiest/reliable ...
2
votes
2
answers
2k
views
Issue with local discovery of devices on dockerized Syncthing
I'm trying to set up a Syncthing instance for my local use and so I don't want to run a discovery server. For the local discovery of devices, Syncthing advertises itself over broadcast IP address of ...
5
votes
1
answer
5k
views
How to mount Certificates from CertBot to use inside Docker Container
The official certbot ( https://certbot.eff.org ) tool to issue and renew certificates from Let's Encrypt saves the currently valid certificate to ${prefix}/archive/${domain}/certN.pem, where N is an ...
1
vote
1
answer
85
views
Why does the CPython interpreter ignore TERM when run in container?
If I start a Python process in a container with
docker run --name python python python3 -c "import time; time.sleep(3600)"
And try to terminate this on another console with
docker stop python
the ...
0
votes
1
answer
551
views
How can I x11 forward from docker to the host inside a virtual machine then to the localhost
Here is the scenario
program (inside container) -> virtual machine -> localhost
I'm using a mac os as a host and boot up a virtual machine using virtual box. Inside virtual box, I boot up a ...
0
votes
2
answers
941
views
Which Linux capability is needed to write to a device?
I set up Home Assistant in a Kubernetes container. It needs write access to the /dev/ttyACM0 device on the host computer (i.e. the computer that runs the container). It works if I make the container ...
0
votes
1
answer
108
views
How can I change the configuration of existing docker?
I have a docker container, which was created using docker run command and basic command line options.
Now the docker is running and I would like to add more options i.e. RAM, mount new partition and ...
4
votes
1
answer
1k
views
How to create a linux container which inherits the hosts root file system, possibly with zfs?
What
Hopefully the question in the title makes sense. I am wanting to create a low overhead (therefore no virtual machine) copy of the host operating system, with it running in a linux container.
I ...
1
vote
1
answer
834
views
IPC versus UTS namespace
I am learning Kubernetes and it seems that they play crucial role in container implementations.They allow us isolation of global system resources between independent processes.Still I do not ...
2
votes
1
answer
619
views
Running containers on top of QEMU
I have a testing setup I'm trying to migrate to using VMs rather than bare metal as much as possible. The existing setup is structured to run everything within containers (LXC, specifically), and it ...
0
votes
1
answer
198
views
Is there a date/time equivalent for Linux Network namespaces?
For the network stack one can create separate network namespaces with iproute2 (see https://baturin.org/docs/iproute2/#Network%20namespace%20management). Is there a date/time equivalent? This should ...
5
votes
3
answers
6k
views
Docker containers on multiple hosts with docker-compose
I use docker-compose to run a small harem of containers in support of an application. The use of Docker's internal DNS resolver (e.g. db resolves to the database backend container) is key to these. I ...
0
votes
0
answers
786
views
How Docker for Mac running Linux is different from regular virtualization?
I always thought that Docker is basically chroot on steroids. However I recently found one project using Docker images with Debian and tutorials were even hosted on OS X so I started digging how it's ...
1
vote
1
answer
205
views
Install pakages (including Openshift Origin) on Fedora Atomic
After looking into various Openshift guides (for Fedora Atomic), I think I might be either missing the point of the Atomic Project, or doing something really wrong.
All guides tell me to run a git ...