Top "Containers" questions

A container is a class, a data structure, or an abstract data type whose instances are collections of other objects.

how to run amd64 docker images on arm64 host platform

I have an m1 mac and I am trying to run a amd64 based docker image on my arm64 based …

macos docker containers x86-64 apple-silicon
Is it impossible to use an STL map together with a struct as key?

I have the following code: struct Node { int a; int b; }; Node node; node.a = 2; node.b = 3; map<int, …

c++ dictionary stl containers stdmap
"Must be connected to a terminal error" with screen -x command on a Linux Container

I am using Linux containers with Proxmox 4. When I am connected on an Ubuntu 16.04 container with: pct enter <id&…

linux containers gnu-screen proxmox
Appending to PATH in a Windows Docker container

I need to append to the PATH within a Windows Docker container, and I've tried many permutations. ENV PATH=%PATH%;…

docker containers windows-container
Get Docker Container CPU Usage as Percentage

Docker provides an interactive stats command, docker stats [cid] which gives up to date information on the CPU usage, like …

docker containers cpu-usage lxc
How do I remove entries within a Counter object with a loop without invoking a RuntimeError?

from collections import * ignore = ['the','a','if','in','it','of','or'] ArtofWarCounter = Counter(ArtofWarLIST) for word in ArtofWarCounter: if word …

python collections containers counter
Is it possible to install Visual Studio in a Windows Container

Is it possible to install any version of Visual Studio in a Windows Container on a Windows Server? The motivation …

visual-studio docker continuous-integration containers windows-server
Can't use yum inside Docker container running on CentOS

I am unable to run any yum commands inside my Docker container without getting the following error: ovl: Error while …

docker centos containers sudo yum
Using an IDE while developing on a docker container

There is something that I am not getting when developing an application while using docker containers. Lets say I am …

docker containers docker-compose docker-machine docker-swarm
is std::queue thread safe with producer and multiple consumers

how can I make a queue thread safe? I need to push / pop / front / back and clear. is there something …

c++ boost queue containers boost-thread