Questions tagged [container]

DO NOT USE - This tag is slated for deletion: https://meta.superuser.com/q/13680/107240

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

What is the recommended way to have OCI on top of user emulation? [closed]

consider a treat model where the contents of the virtual instance is extremely hostile. Both on memory access abuse, cpu instructions exploits and network. Not to mention attempts to abuse convenience ...
  • 4,645
0 votes
0 answers
25 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])/"{ ...
0 votes
0 answers
85 views

Remotely SSH into containers and VMs

On a Linux host machine (Fedora Silverblue) I have a VMWare Workstation VM running in a distrobox container: | Host machine | -> | Distrobox container | -> | VMWare VM running some Linux guest | ...
  • 243
0 votes
0 answers
57 views

Linux - 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 ...
  • 1
0 votes
0 answers
197 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 ...
  • 294
0 votes
0 answers
24 views

Update low-level libraries on QNAP

I'm running QNAP TX-431XeU QTS v5.0.0 trying to set up linuxserver/radarr using Container Station. The device is armhf and there's a known issue (https://docs.linuxserver.io/faq#libseccomp) with ...
0 votes
1 answer
46 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 ...
  • 1
0 votes
1 answer
414 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 ...
  • 101
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.
  • 101
0 votes
2 answers
335 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 ...
  • 769
0 votes
1 answer
47 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
1 vote
0 answers
17 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 ...
  • 11
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 ...
  • 13
1 vote
1 answer
1k 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
609 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
748 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 ...
  • 960
2 votes
0 answers
30 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 ...
  • 155
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
280 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
46 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 ...
  • 103
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
6k 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
56 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-...
  • 340
0 votes
1 answer
58 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
1 vote
0 answers
90 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....
50 votes
5 answers
14k 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 ...
1 vote
1 answer
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 ...
  • 21
14 votes
1 answer
32k 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
459 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 ...
  • 743
2 votes
2 answers
1k 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 ...
  • 167
5 votes
1 answer
4k 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 ...
  • 702
1 vote
1 answer
73 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
439 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 ...
  • 121
0 votes
2 answers
703 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
92 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 ...
  • 712
1 vote
1 answer
754 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
522 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
167 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 ...
  • 121
4 votes
3 answers
5k 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
783 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 ...
  • 720
1 vote
1 answer
203 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 ...
  • 145
0 votes
0 answers
473 views

Install silently into microsoft/nanoserver

I have this excerpt from one of my Dockerfile[s]. Any attempt to install a software silently would fail. In another Dockerfile, I already had tried with oracle-xe without success. Here in this docker ...
0 votes
2 answers
1k views

launch systemd service within OCI container (runc)

Currently, I am trying to launch systemd service (avahi-daemon) within RUNC container and all of my attempts were failed. I faced several articles for the same task but for the docker solution and one ...
1 vote
1 answer
1k views

What's the easiest way to spawn a cluster of docker containers?

For example elasticsearch, apache spark, hadoop, kafka ... all benefit from running a cluster of machines with some common config between all of them. What's the equivalent of a Dockerfile but for ...
  • 109
0 votes
1 answer
53 views

Running Docker on native Windows containers fails

I want to use the current Docker Edge build to run containers natively on my Windows 10 Pro laptop. But every time I try to pull a container I get an error saying that the vhdx can neither be ...
  • 129
0 votes
1 answer
2k views

Using an existing Django project in a new Docker container

I am trying to start a Docker container using a Django project in the same directory. Following this tutorial, https://docs.docker.com/compose/django/#create-a-django-project, it is possible to use ...
0 votes
1 answer
153 views

need clarification on process virtualisation with containers created by "systemd-nspawn"

I have created a container with "systemd-nspawn" command. Inside that container, with "route" command I could get ip address of default gateway and could ping it. Now, "ps -ecf" in the host system (...
4 votes
3 answers
7k views

Copy files from LXC to host machine

I'm new to containers. I have a LXC container running on a remote linux machine. All I found online is how to copy files from host to LXC container. But how can I copy files from a running LXC ...
  • 559