Quantcast
Channel: Active questions tagged containers - DevOps Stack Exchange
Browsing all 164 articles
Browse latest View live
↧

Restart container if its application hangs

I have a critical container application which task consist of polling sensors and taking consequent action on some external hardware.If the application of the container crashes it's fine. restart:...

View Article


VPN container providing access to host's LAN?

I'm kinda new to this Docker thing and I'm interested in getting a biffed up VPS for some containers (websites/data, mysql, nginx, rocket.chat, etc) but I wouldn't like to access them in the wild (even...

View Article


Launching VM instances only when needed

I am looking for the right tool to launch VM instances on a cloud platform only when I need them. Once launched, they should run a containerized script (let's call it a job) that runs for about 5 to 15...

View Article

Tools for "scanning" container (hardening) vulnerabilities vs tools for...

Container hardening is the process of fixing the vulnerabilities.CIS has published a list of container vulnerabilities which should be addressed to complete the hardening process.Q1. Are there separate...

View Article

Check TZ in Container Image without creating instance?

I have a requirement to assure that the container image we build runs in UTC only. I'd like to avoid starting it up just to check the link on /etc/localtime. I thought maybe a tool like dive that...

View Article


How to dockerize a jupyer notebooks project?

I have a project composed of 6 different Jupyter Notebooks and 4 CSV files. I would like also my colleagues can try to use this project, even if they don't have python installed and maybe with another...

View Article

Where can I set the restart policy for a Azure Linux (container) App Service...

Is it possible to set the restart policy for a Azure Linux container from the portal? I build, push and deploy my application from the Azure Pipeline portal, but I need to change the restart policy and...

View Article

What is the difference between `gitlab-runner start` and `gitlab-runner run`?...

What is the difference between gitlab-runner start and gitlab-runner run?The documentation is not very clear on this:gitlab-runner runThis is main command that is executed when GitLab Runner is started...

View Article


Image may be NSFW.
Clik here to view.

Access API on a container from another container

I have 2 containers A and B which both contains webappsA is listening on 443 (apache2)B is listening on 4000 (node.js)Since I need to access to both services with https from my machine (win10), I...

View Article


Commit and Push Container Running in Azure Container Group?

My question has to do with the posture of Azure container groups. I'm comfortable working with Docker images and and deploying those in a Kubernetes environment. I'm new to Azure. I have a container...

View Article

How to get exposed ports from inside of container?

I want to know which port(s) are exposed when user run the image.docker run -p 1000:1234 myimagenameI want to get 1234 value in container since I will use it for some configurations(IIS bindings etc.)...

View Article

How to containerise developement of GUI apps (C++, C#)

I'm looking for a solution to virtualise the environment for the development of C++/C# Windows apps that have a UI that display live video.The apps needs to run native on the local machine during...

View Article

How to create a container from an image

I have this following image:REPOSITORY TAG IMAGE ID CREATED SIZEnvcr.io/nvidia/pytorch 18.04-py3 c3555fec4fe6 3 years ago 5.9GBThe goal is to use Ubuntu 18.04 with CUDA 10.2. Now I want to create a...

View Article


Best Practice for Managing Ephemeral Storage on Bare Metal Kubernetes Instance?

Host OS: Ubuntu 20.04Kubernetes: 1.23RAM: 64gHDD: 3.7TbContainers are failing and rescheduling due to low ephemeral storage. Ex. The node was low on resource: ephemeral-storage. Container...

View Article

Private certificate authority and container images

We have a internal domain name, let's say "mycompany.net" with a private CA which delivers all our internal application HTTPS certificates for this domain like "myapp.mycompany.net".Now, I'm writing an...

View Article


Image may be NSFW.
Clik here to view.

Azure Devops build and deployment process for .NET Core app - excessive disk...

My Azure Virtual Machine Scaleset instances, used for hosting of an application, are filling up due to excessive disk space usage by Docker.The deployment of the application is based on an Azure DevOps...

View Article

Access AWS Secret inside docker file

I have a docker file running on AWS that looks like the following:FROM ubuntu:latestRUN apt-get updateRUN apt-get install -y python3RUN apt-get install -y gitRUN git initRUN git clone...

View Article


Container deployment sync problem with Ansible

Imagine the following situation after you have switched from docker-compose to Ansible:You start a DB container which needs time to boot upYou want to load data dump into it(could be also you need to...

View Article

Duplicate docker layers should not count twice in quota

On my machine, I have a 1 Gb docker image with several layers.I tag it many times with different tags. On my machine it still takes 1 Gb, as shown by "docker system df".But when I push them to...

View Article

ERROR: Unable to read database state: No such file or directory

I was trying to install Photon by pulling the docker image. But when I run docker build -t photon . I am getting the below error. ---> Running in 3076fb42ef8bERROR: Unable to read database state: No...

View Article
Browsing all 164 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>