Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [container]

The tag has no usage guidance.

0
votes
0answers
24 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.
0
votes
1answer
46 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 ...
0
votes
0answers
9 views

How to configure sflow to monitor Kubernetes container traffic

I'm a beginner to sflow, and I have a Kubernetes cluster on AKS (Azure). I want to get the container traffic from the cluster, so I find sflow might help me to archive this goal. 1. Create the ...
1
vote
0answers
31 views

Is it risky to completely fill up a hdd with a veracrypt container?

I always use all my hard drives only between 75% and 80% of their capacities (after having formatting them), I leave the rest to allow windows to properly perform maintenance on my hard drives. I ...
-1
votes
0answers
6 views

Is there a way to get libinput working in libvirt-lxc?

I was able to get a gnome desktop running in libvirt-lxc. I enabled access to the appropriate events until /dev/input in the container xml file and in the xorg.conf file. But occasionally the event ...
0
votes
1answer
56 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
0answers
22 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 ...
0
votes
0answers
36 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 ...
0
votes
1answer
126 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
1answer
32 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
1answer
39 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
2answers
56 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
1answer
39 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 ...
3
votes
1answer
139 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
1answer
192 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 ...
0
votes
0answers
145 views

How to configure detach key-sequence like Docker's detachKeys using kubectl?

The default key sequence for detaching from a running container is Ctrl+p Ctrl+q in both Docker and Kubernetes. For Docker (e.g. docker run), I can change this with either --detach-keys on the ...
0
votes
0answers
85 views

Docker swarm containers networking and placement

I am using a Docker Swarm cluster and I am trying to work out the best way of interconnecting and placing some containers implementing my application. The architecture is still pretty much "...
0
votes
1answer
48 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
0answers
56 views

docker mount volume windows container

I cant seem to mount a volume. Anyone know what I am doing wrong? My docker command is below. Its a windows nano running on windows 10 pc\docker. docker run -p 2525:2525 -p 2020:25 -p 65500-65515:...
0
votes
0answers
54 views

Setting up new Windows dev environment with connection to second AD Domain

This may be the wrong forum to ask this question. If so, I'd love links or suggestions as to where to post it. Background: In our current environment, developers (about 50) have Windows desktop ...
0
votes
1answer
46 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 ...
0
votes
2answers
923 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
0answers
420 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
1answer
127 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 ...
0
votes
0answers
225 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 ...
1
vote
0answers
52 views

systemd.network: define system-wide pool of unused ranges

systemd.network(5) can be configured to automatically allocate an unsed address range by setting Address=0.0.0.0/XY and Address=[::]/XY. This is used in 80-container-ve.network to automatically assign ...
0
votes
2answers
320 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 ...
0
votes
1answer
310 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 ...
0
votes
1answer
19 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 ...
0
votes
1answer
654 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
1answer
75 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 (...
1
vote
2answers
2k 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 ...
0
votes
1answer
45 views

Logspout send old docker logs

Hello I have logspout for sending my logs from docker container into papertrail, but now I found out that after restart docker container logspout send also all old logs.. Here is exaple: Oct 06 15:...
1
vote
2answers
355 views

Running docker containeras non-root user?

Is there a way for users without root access to run a docker container? To be clear, I am not asking if I can create a user in the container that runs as non-root. Rather, I need to know if and how a ...
1
vote
1answer
87 views

What are the options for running GPU nodes in Paas on Azure?

I want to spin up GPU nodes on demand to run a Python application on Azure. It is a bit unclear as how I can accomplish this however. I got the impression that there were GPU nodes available in Azure ...
1
vote
0answers
659 views

Docker driver “aufs” failed to remove root filesystem - no such file or directory

Hello I have problem with remove dead docker containers: root @ bespokeworktoptool3 /root ### docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS ...
0
votes
1answer
276 views

Docker user write permissions issue

I am just learning Docker. I have the following lines in my Dockerfile FROM debian:stable RUN apt-get update && apt-get install -y \ git \ vim \ ruby \ rubygems \ bundler ...
0
votes
1answer
217 views

How can I map a shared folder from my container on Mac?

I have a folder insider a Docker container that is shared through Samba. I can map this folder on Windows without problem running something like: net use z: \\vm_ip\folder In the case above, z: is ...
1
vote
0answers
130 views

Is it possible to use programming languages in docker like it is in bare OS?

I mean that in OS with installed for example Java or Python we just make java -jar myapp.jar or python myapp.py and in this way necessary program runs. Is there is a way to run in this way the ...
3
votes
1answer
2k views

macvtap interface created on top of macvlan interface of a Docker container cannot communicate

I have a use case where I created a Docker macvlan network (default bridge mode) & connect this network to a running Docker container (e.g C1). So the container will have a new macvlan interface(e....
1
vote
1answer
626 views

How to run software that requires legacy library version?

I have an old app that requires old OpenCV version (<=2.4.9) and crashes on newer versions (OpenCV partially dropped support for C API since 2.5). I used to just use really really old distro and ...
10
votes
1answer
760 views

Windows Container: Containeradministrator vs. Administrator?

I am a little confused when it comes to the users with Docker. When I run a Windows Container (e.g. microsoft/windowsservercore) and I type in "whoami" I get the following response user manager\...
0
votes
0answers
426 views

Difference between an LXD Ubuntu container, and a Docker container with an Ubuntu image?

I think this question was already asked here, and this question was referenced, but it doesn't really answer. So I'll try to ask more in detail. Let's say I have an LXD container running an instance ...
2
votes
1answer
810 views

Difference between vserver and Linux Container

Can anyone explain me difference between linux containers and vserver? I mean containers managed by docker. I tried to read in the internet, but I have a problems with understanding it. Can anyone ...
1
vote
1answer
2k views

Docker apt-get update how does it work?

So I know that with each RUN command docker creates a layer, or intimidate images if you will, and that this leads to caching apt-get update. But I am having very very difficult times with installing ...
1
vote
0answers
87 views

Can a FTP container spin up when a request is received?

Is it possible to have an FTP server running on a container (such as the docker-pure-ftpd image) and only have it running when a request has been received? I would like to use AWS if possible.
4
votes
2answers
2k views

Syntax for setting LXD Container raw.idmap

I'm following the procedure for mounting a host drive inside an lxc container as described here. In that article the author sets the raw.idmap like this: lxc config set zesty raw.idmap 'both 1000 ...
0
votes
1answer
295 views

Subdomains on VMs to all go through port 80 using Windows Server

Right so I have been trying to set up the following and failed so far :-) Some settings are out of my control, so I need to work with what I have got and hope that this is still possible. My Scenario ...
0
votes
1answer
62 views

Easily spinning Windows and Linux containers

I'm thinking about setting up a CI/CD infrastructure for my team. Since the components we're developing are on-premise and should run a different OSs, I'm thinking on spinning up Windows & Linux ...
0
votes
1answer
489 views

Cant get win2016 to accept inbound connections, respond to ping

YES - I have the firewall completely turned off. This is within my private lab, I setup a new Win2016 server to play with Windows Containers. The machine has 3 network ports, and I put all 3 as ...