Top "Containers" questions

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

Why use iterators instead of array indices?

Take the following two lines of code: for (int i = 0; i < some_vector.size(); i++) { //do stuff } And this: …

c++ for-loop stl iterator containers
Stop and delete docker container if it's running

I am looking to pragmatically stop and delete a docker container if it is running. This is for a build …

bash docker containers
heapq with custom compare predicate

I am trying to build a heap with a custom sort predicate. Since the values going into it are of …

python algorithm sorting dictionary containers
How to check if a process is running inside docker container

[Updated1] I have a shell which will change TCP kernel parameters in some functions, but now I need to make …

shell docker containers
How to increase the size of the /dev/shm in docker container

Currently When I create new docker container the size of the shared memory directory is limited to 64MB. But, I …

docker containers
How can I use an array as map value?

I'm trying to create a map, where the key is an int, and the value is an array as follows: …

c++ arrays dictionary containers stdmap
Docker interactive mode and executing script

I have a Python script in my docker container that needs to be executed, but I also need to have …

python containers docker
Get Docker Container Names

This command gives me a list of running container IDs: docker ps -q Is there a command to get the …

linux docker containers
Using docker-compose to set containers timezones

I have a docker-compose file running a few Dockerfiles to create my containers. I don't want to edit my Dockerfiles …

docker containers docker-compose dockerfile devops
"Container is not defined" Google chart

I have solved my issue but can't answer it myself since I am too new to this site: turns out …

api charts containers