Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
52 votes
Accepted

Firefox shortcut to open a particular account container

As of version 7 of the Containers extension, ctrl+shift+1-9 works without any further add-on. From the release notes: Set shortcuts in the add-on preferences panel: Ctrl + Shift + {Num} Which ...
ricab's user avatar
  • 988
41 votes

Firefox shortcut to open a particular account container

According to the Multi-Account Container plugin page, you can use Ctrl + . to open the panel. Then simply press the down arrow (or tab) and enter. Ctrl + . (period) keyboard shortcut is available ...
tone7's user avatar
  • 511
20 votes
Accepted

"volumes 'type' is a required property" when running docker-compose

The compose file is whitespace sensitive (this is yaml formatting). There are two different volume sections in a compose file, one where the volume is defined at the top level of indentation, and ...
BMitch's user avatar
  • 2,160
8 votes
Accepted

Syntax for setting LXD Container raw.idmap

This question has been answered in the LXC user mailing list: As idmap is a blob, if you want to assign multiple values, you have to send multilines. Example: echo -en "both 1003 1003\nboth 1004 ...
Ivan Ogai's user avatar
  • 686
7 votes

Syntax for setting LXD Container raw.idmap

Another way in order to automate this could be as described here (https://ubuntu.com/blog/custom-user-mappings-in-lxd-containers): printf "uid $(id -u) 1000\ngid $(id -g) 1000" | lxc config set ...
Don Charlie's user avatar
7 votes

Firefox shortcut to open a particular account container

I use https://addons.mozilla.org/en-US/firefox/addon/easy-container-shortcuts/ AFAIK, there are no firefox built-in shortcuts
goreorto's user avatar
  • 187
6 votes

Docker exec doesn't load aliases

It doesn't due to limitations due to aliases being meant to be used interactively. You can probably hack around this but the easiest solution is by far to simply make your "alias" into a script and ...
Pithikos's user avatar
  • 1,634
6 votes
Accepted

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

this is principal scheme how macvlan driver is works: +---------------+ | network stack | +-...
kvaps's user avatar
  • 238
4 votes

How to mount Certificates from CertBot to use inside Docker Container

The relative symlinks are mapped to go up 2 layers (from domain folder to live folder, from live folder to root folder), then enter the archive folder and finally the domain subfolder within. To ...
NoMad's user avatar
  • 772
3 votes

Copy files from LXC to host machine

Install a SSH server on your LXC container. Allow connections from remote hosts to port TCP 22. From your own machine connect to your LXC container using SCP with WinSCP (for Windows). In case you are ...
ppdmartell's user avatar
3 votes
Accepted

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

I think that you are looking for Docker swarm To create a swarm cluster you only need to have Docker on each machine and they have to be on the same network. You can describe services on a Compose ...
Gabriel Miretti aka gmiretti's user avatar
3 votes
Accepted

How to run software that requires legacy library version?

The problem with just replacing OpenVZ is that many libraries depend on each other (the old "DLL Hell" problem). Some libraries depend on OpenVZ, and OpenVZ depends on other libraries, which depend on ...
allquixotic's user avatar
  • 34.6k
3 votes
Accepted

Windows Container: Containeradministrator vs. Administrator?

'Net User' is being called from the HOST ( Windows itself not the container ) hence the Administrator only in the 'whoami' 'whoami' INSIDE the container is the container's equal which only has Admin ...
linuxdev2013's user avatar
  • 1,331
3 votes
Accepted

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

Neil Peterson vom Microsoft replied to me on Twitter about this, seems to be a bug: https://twitter.com/nepeters/status/705451007233257472?cn=cmVwbHk%3D&refsrc=email
Mathias Conradt's user avatar
3 votes
Accepted

IPC versus UTS namespace

UTS namespaces contain just two identifiers: the system hostname and the (rarely used) NIS domain name. IPC namespaces contain a specific kind of IPC objects known as "POSIX IPC" and "SysV IPC" – ...
grawity_u1686's user avatar
3 votes
Accepted

How to create a linux container which inherits the hosts root file system, possibly with zfs?

I drafted a manual procedure that can accomplish this. Prerequisites These procedures make the following assumptions: Your shell is /bin/bash. You are root. You have deployed the operating system on ...
Deltik's user avatar
  • 19.7k
3 votes
Accepted

How to run an X11 application (xclock) on podman?

Add --net=host to the command line podman run -ti -e DISPLAY --rm \ -v ~/.Xauthority:/root/.Xauthority:Z \ --net=host localhost/xclockimage After this change it started to work.
Erik Sjölund's user avatar
2 votes
Accepted

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

Docker only runs the process (or processes) that you tell it to run. Docker containers normally don't have a functioning init system. They are not like virtual machines that contain a complete ...
NZD's user avatar
  • 2,668
2 votes

lxc container : password and username

The q. is pretty old, the other answers are too and it is yet again different. What we do use to access shell in a linux container is exec command - similar to what we have in kubes: lxc exec <cont ...
Hans Kloss's user avatar
2 votes

VISIO 2016 --> How To Remove Shape From A Container?

I have a similar problem. Though, simpler - I just want some shapes not to be included in a container. Please, have a look at this. Solution to my problem: To the shapes, I want to be included NOT,...
Vessi's user avatar
  • 21
2 votes

Docker exec doesn't load aliases

Aliases are mostly useful when you want to shorten part of a commonly used command which takes variable arguments. In a ruby dev context that might be creating an alias like alias be="bundle exec" ...
jamesconant's user avatar
2 votes

Copy files from LXC to host machine

Use lxc file pull lxc file pull [<remote>:]<instance>/<path> [[<remote>:]<instance>/<path>...] <target path> [flags]
norq's user avatar
  • 322
2 votes

Firefox shortcut to open a particular account container

expanding from @tone7 answer you could Ctrl + . (period) then use number to open corresponding tab Ctrl + . + [1-9]
user1180488's user avatar
2 votes
Accepted

Virtual machines - workaround for bad operating systems?

From my understanding, we use VMs for isolation of environments That's correct. … so that one environment's configurations does not break another environment. That's too narrow. Isolation ...
gronostaj's user avatar
  • 57.2k
2 votes
Accepted

How do delete data from a certain Docker container?

There's only a single image for a container. If you remove it, and there are parent images that aren't otherwise used, docker will remove all the layers: container_name_or_id=...
BMitch's user avatar
  • 2,160
2 votes
Accepted

A Docker OS container - why?

Because, even if there is no full operating system involved, the file system in the Docker image looks like an extract of the root file system of a specific distro: depending on "origin OS", to ...
xenoid's user avatar
  • 10.1k
1 vote

Running containers on top of QEMU

Compatibility There should be no issues. QEMU doesn't look any different functionally from regular hardware to the guest system, and LXC does nothing that requires special behavior from the hardware ...
Austin Hemmelgarn's user avatar
1 vote

Docker containers on multiple hosts with docker-compose

You may consider to use overnode tool (https://web.archive.org/web/20220629101355/https://overnode.org/) - it is container orchestration tool, which is largely multi-host docker-compose without swarm. ...
Andrew's user avatar
  • 111
1 vote
Accepted

Install pakages (including Openshift Origin) on Fedora Atomic

First instruction assume You do it from generic workstation, making installation on remote Atomic hosts. and assume at least ansible 2.2 and git already installed on management workstation. Second ...
Mikhail Moskalev's user avatar
1 vote

Using an existing Django project in a new Docker container

The answer to your question can be found in https://docs.docker.com/compose/django/#connect-the-database. If you actually set your database as explained in the link, such that your DATABASE config ...
Afolabi Olaoluwa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible