Category "containers"

Why doesn't my browser refresh when the Nuxt.js dev server recompiles my code?

I am working in a CentOS 7 VM (VirtualBox, host is Windows 10) and my working directory is a shared folder. I have created a node container to develop a Nuxt.js

Best way to run volatile containers on Google Cloud

I have scripts that collect data all the time on Google Cloud VMs, but there are times when I have more or less data to collect, so I need to volatile and autom

How to automate installation of missing GPG keys on Linux

I've been working with Linux containers for several years. I am surprised that I wasn't able to find a thread about this question. Scenario: I've just added a n

docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)" returning empty

I want to be able to read the contents of the file ~/.ssh/id_rsa and pass the same to my build stage of the image. When I use the command docker build --build-a

k8s how to exec to distroless container

I want to delete a specific file from a cronJob to the following container, the problem is that when I run exec I got error, how can I exec to distroless contai

dnf, clear commands not working inside docker conatiner

Hi im trying to build a container with base os- centos:8 container image- fedora:33 when i give a dnf install command it returns with a failure, so i went insid

Is there still a need to provide default constructors to use STL containers?

I remember that back in C++98, if you wanted to make an STL container of MyClass, you needed to provide default constructor to MyClass. Was this specific to som

docker and image size limit

I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit whi

Quarkus docker container failed to run / connect to the DB

In my project, using Quarkus, Angular and PostgreSQL DB, when I run the backend & and the frontend in dev Mode, I can connect to the DB (which is postgreSQL

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 host platform. However, when I try to do so (with docker run) I get the fol

How to correct docker in makefile which requires at least 1 argument for remove all containers command

The docker command "docker container rm $(docker ps -aq) -f" works fine from the command line. However, when I try to run it from a makefile using the followin

Running Windows container's command prompt in admin mode

I am running Windows Nanoserver in a container.The nanoserver contains only the command prompt and lacks powershell. I want to execute certain commands inside t

Access the port mapped by the docker container :curl: (56) Recv failure: Connection reset by peer

Use host and br to start two containers docker run -d --name="nginx_host" --net="host" nginx docker run -d --name nginx_br -p 8000:80 nginx View the container l

Update max_map_count for ElasticSearch docker container Mac host

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 -

Is it possible the restart a docker container which it's network deleted?

I tried to remove a costume network that is connected to a container. As you can imagine I didn't, because of the container. I stopped it and then removed the n

Is it possible the restart a docker container which it's network deleted?

I tried to remove a costume network that is connected to a container. As you can imagine I didn't, because of the container. I stopped it and then removed the n

docker compose orphan containers warning

How to be with orphan images when you have 2 independent projects and you want them to work at the same time or at least to build running docker-compose up -d w

How to run a cron job inside a docker container?

I am trying to run a cronjob inside a docker container that invokes a shell script. Yesterday I have been searching all over the web and stack overflow, but I c

In terms of networking, are there any limitation to windows container over linux container like host network access from container

Limitation of window container over Linux container in terms of networking like host network access from container I have done research on window container but

shrink_to_fit() for unordered containers?

I am wondering two things... Does it make any sense to resize an unordered containers in a manner similar to shrink_to_fit() once the container has been filled