Questions tagged [container]

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

This tag is not sufficiently scoped to a single area of expertise, and is slated for deletion. See this meta post: Clean out our [container]

Consider using the following tags instead:


A cleanup effort to remove this tag is underway. If you see this tag being used, please remove or replace it with a more appropriate tag.

124 questions
58
votes
5 answers

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 takes too much time. Question: How to open a new…
Nicolas Raoul
  • 11,561
16
votes
1 answer

"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 my volume: version: '3.2' services: mydb: …
user7298979
  • 263
  • 1
  • 2
  • 4
13
votes
1 answer

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\containeradministrator But when running net user within…
papanito
  • 315
10
votes
5 answers

Docker exec doesn't load aliases

I have a bash alias loaded into a Docker container, in /etc/bash.bashrc. It functions as a shortcut to a commandline PHP script. This is convenient, since anyone can use that alias directly after one logs into the container, with: $ docker exec -it…
9
votes
3 answers

lxc container : password and username

I am trying to run wine in a 64b OS ( LUNA ) so i did follow this guide ! to set up wine , and i did chose to follow the first option : lxc container Problem arise when i have to run the container: sudo lxc-start -n my32bitbox I am asked for a…
Alejandro
  • 135
8
votes
2 answers

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 1000' I want to customize the mapping for gid and…
Millhouse
  • 713
7
votes
1 answer

How to generate thumbnails for less common video containers (mkv, ogm, mp4, flv, rmvb and mov) in windows 7 explorer?

So how to generate thumbnails for these containers? I know that the install of "DivX Plus Tech Preview: MKV on Windows 7" does it for MKV. But I think that only some registry changes are really necessary and I want it for other containers. If it's…
fluxtendu
  • 7,219
6
votes
2 answers

Container with in-built compression, which automatically adjust its size

I try to find an efficient way of rsyncing contents of an ext4 file system as a part of a regular backup, yet I consider a decent compression and a minimal required space. I can just use plain rsync and then tar/gzip the resulting directory, but…
Neurotransmitter
  • 1,291
  • 16
  • 35
6
votes
1 answer

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 arbitrary number. The paths that should be used to…
NoMad
  • 792
6
votes
2 answers

Can we execute a script as root during docker container startup?

I am trying to execute a script during container startup. For a normal linux machine, if i have script in /etc/rc.local script will be executed when there is reboot I am trying to do the same thing, when building Docker image. I override the…
jojo
  • 463
5
votes
2 answers

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/xclockimage on a Fedora 29 computer. Longer story On my…
5
votes
3 answers

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 use a private bridged network created with docker…
5
votes
2 answers

Windows Container port binding on Windows Server 2016 not working

I am running a Windows Container on a Windows host (Windows Server 2016 TP4). The container shall run an IIS webserver on port 80 internally and I also want to bind port 80 to the host, so I can reach it via the host IP/URL. I followed the…
5
votes
1 answer

How to install a Windows Feature on Docker container (Windows 2016 Server) that requires a "server restart"?

I try to install the Windows feature "NetworkController" on a docker container on Windows 2016 Server TP4, using Powershell. After I run "Add-WindowsFeature NetworkController", I get the message: "You must restart this server to finish the…
4
votes
1 answer

start systemd-nspawn/systemd container on boot

I've been working with systemd-nspawn and have a couple of containers that I'd like to automatically start at system start. I'm using arch linux and according to the archwiki entry, the following code should do the trick # systemctl enable…
flooose
  • 225
1
2 3
8 9