containers Questions

4

I am trying to run mongo:6 in docker container with docker compose file but it always gets exited with warning. Docker version : 23.0.4, build f480fb1 Docker-compose version: v2.17.2 docker-com...
Fossilize asked 28/4, 2023 at 5:1

5

Solved

I'm planning to use Docker to deploy a node.js app. The app has several dependencies that require node-gyp. Node-gyp builds these modules (e.g. canvas, lwip, qrcode) against compiled libraries on t...
Willena asked 5/6, 2017 at 15:2

6

I am trying to docker exec a container that is built from scratch (say, a NATS container). Seems pretty straight-forward, but since it is built from scratch, I am unable to access /bin/bash, /bin/s...
Antakiya asked 16/2, 2019 at 7:23

7

Solved

I want to erase some elements in my std::map. I wrote erase + remove_if technique which I always do with other sequence containers. But it wasn't compile with map. Why? And How can I do this job? ...
Vennieveno asked 10/8, 2011 at 8:23

4

Solved

I was following the official docker labs hands-on tutorial for multi-container apps tutorials. While running the below command on MacBook Pro M1 terminal docker run -d ` --network todo-app --netwo...
Vacuous asked 25/4, 2021 at 16:16

4

I created a MSSQL docker container based on the official image provided by Microsoft (https://hub.docker.com/_/microsoft-mssql-server). I started a bash shell inside the running container and trie...
Obeng asked 17/4, 2020 at 12:39

3

I'm trying to see if there's a way to apply a kustomize patchTransformer to a specific container in a pod other than using its array index. For example, if I have 3 containers in a pod, (0, 1, 2) a...
Bellis asked 16/9, 2020 at 21:6

7

There is an associated container in C++ which is actually a set (multiset) which can give the order of an element in it in. Here is how I use the container: #include <bits/stdc++.h> #includ...
Joubert asked 14/1, 2020 at 10:30

3

Solved

Given I have a template setup to do something on a type such as... template<typename T> class SimpleTemplate { private: T m_obj; public: void operator()() { m_obj.DoSomething(); } }; And...

3

Solved

I have a simple docker file of FROM ubuntu:18.04 COPY . /usr/src/app/ COPY docker_files/.bash_aliases /root/ $ docker build -t dock . Sending build context to Docker daemon 146.9kB Step 1/3 : FRO...
Copyread asked 12/4, 2019 at 20:49

3

Solved

I tried to create a container using the following docker run -it centos bash and exited without killing it. Now I'm trying to delete the centos image using its image ID. docker rmi -f 0f3e07c0...
Handgun asked 1/1, 2020 at 18:8

3

Is it possible to download a shared app group container with XCode similar to how the sandboxed container is downloaded for a particular app? I haven't been able to find any definitive Apple docume...
Anarchism asked 24/7, 2015 at 1:25

11

Solved

I need to append to the PATH within a Windows Docker container, and I've tried many permutations. ENV PATH=%PATH%;C:\\Foo\\bin ENV PATH=$PATH;C:\\Foo\\bin ENV PATH="%PATH%;C:\Foo\bin" ENV PATH="$P...
Hymeneal asked 7/2, 2017 at 14:53

4

Docker provides an interactive stats command, docker stats [cid] which gives up to date information on the CPU usage, like so: CONTAINER CPU % MEM USAGE/LIMIT MEM % NET I/O 36e8a65d 0.03% 4.086 MiB...
Scrape asked 16/5, 2015 at 4:49

2

My Java & Spring Boot application integration tests use testContainers and I'm using Podman on my Windows machine. When trying to run the integration tests, I'm getting this permission error: F...
Dieterich asked 3/1, 2023 at 7:59

4

Solved

I have looked up a million techniques and I can't get this to work and I know there is other posts similar to this. I'm sorry if it bugs anyone but I need specific instructions for my code cuz me s...
Polard asked 21/3, 2016 at 1:21

4

I tried giving the below command from container and found the below issue, may be because of "-moby" kernel version. Can't we get a docker image without word "-moby" coming in linux kernel version....
Monochrome asked 10/10, 2017 at 19:26

12

Solved

I'm using this container to start elasticsearch in docker. In accordance with the manual I have to update max_map_count to start the container sudo sysctl -w vm.max_map_count=262144 but.. I ca...
Clifford asked 16/12, 2016 at 21:29

7

I am attempting to push an image of a windows container to a "local" repository on a Windows VM, which has it's own IP address. So when I create the registry on my VM, I can view the repository li...
Aimless asked 17/6, 2019 at 17:26

5

I have just setup an Ubuntu 18.04 LTS Server with Gitlab following the instructions from https://about.gitlab.com/install/#ubuntu. I have issued a ssl certificate from GoDaddy and confirmed this w...
Deena asked 22/2, 2020 at 7:25

10

Solved

How do I get a list of all the containers in a user-defined docker network? I would like to get all the commit hashes of every container for a specific user-defined docker network.
Schilt asked 23/6, 2017 at 15:12

4

Solved

I'm using Fedora release 33 (Thirty Three) Docker version is Docker version 20.10.0, build 7287ab3 First I ran docker system prune and since then docker daemon failed to start. I ran systemctl star...
Kitchens asked 9/12, 2020 at 9:17

5

I am developing a social network application. I want to creat ,in azure storage, a container for each user (client) joining a social network, which means user1 has a container named container 1, a...
Southerland asked 10/12, 2011 at 18:9

11

I would like to have a way to enter into the Postgresql container and get a data dump from it.
Dirac asked 11/5, 2015 at 14:58

1

there is a simple way to copy files from local host to AWS ECS Fargate container? Like Docker cp docker cp :/file/path/in/container/file /host/local/path/file ? I've found some workarounds like: p...
Fraenum asked 17/9, 2021 at 10:11

© 2022 - 2024 — McMap. All rights reserved.