How do I fix this error:ERRO[0003] containerd: notify OOM events error="cgroup path for memory not found" ?

The server OS is Debian 8 with kernel 3.16.0-4-amd64 When I use: [[email protected]:/var/lib/docker/containers]# docker version Client: Version: 17.06.0-ce API version: 1.30 Go version: go1.8.3 Git commit: 02c1d87 Built: Fri Jun 23 21:20:04 2017 OS/Arch: linux/amd64 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? I use: [[email protected]:/var/lib/docker/containers]# docker ps Cannot connect […]

By Andrew
Published
Categorised as docker Tagged

Docker and RabbitMQ, how to startup service again after removing it

I am trying to create a rabbitmq cluster using docker, based on the details provided in these two links below, I have it starting up, but not sure how to start up an image/container after I have removed it again. https://www.youtube.com/watch?v=w2kGd2VRJWE https://www.youtube.com/watch?v=FzqjtU2x6YA The second video he goes through stopping a node with this command (Excuse […]

By Andrew
Published
Categorised as docker, rabbitmq Tagged ,

Docker RabbitMQ runs then stops

I am trying to follow this tutorial on setting up docker clusters https://levelup.gitconnected.com/setting-up-rabbitmq-cluster-c247d61385ed I get to running the following command that I will need to run for the other two nodes docker run -d –rm –net rabbit -v C:RabbitPrototypeconfigrabbit-1/:/config/ -e RABBITMQ_CONFIG_FILE=/config/rabbitmq -e RABBITMQ_ERLANG_COOKIE=ABCDYJLFQNTHDRZEPLOZ –hostname rabbit-1 –name rabbit-1 -p 8081:15672 rabbitmq:3.9-management I can see it run […]

By Andrew
Published
Categorised as docker, rabbitmq Tagged ,

Graphite/Carbon Metrics Approach when moving to containers

Right now, I have a defined list of servers server01.mycorp.lan – serverN.mycorp.lan that all run the same java application using metrics.dropwizard.io. There’s M (about 150) metrics reported per machine, using the hostname as a prefix: Eg. server01.requests.count server01.requests.response.average This ends up creating N*M Whisper files within carbon to store all these metrics, which is fine […]

By Andrew
Published
Categorised as docker, graphite, kubernetes, metrics Tagged , , ,

Connect Grafana from docker with PostgreSQL at localhost

I’m trying to connect Grafana, deployed at docker container, with PostgreSQL, which deployed at localhost. For this purpose I tried to map ports as following: ports: – ‘3000:3000’ – ‘5432:3001′ As expected this does not working. Testing request for configured PostgreSQL-source returns: "dial tcp 127.0.0.1:5432: connect: connection refused". I expected this result, as I didn’t […]

By Andrew
Published
Categorised as docker, grafana, postgresql Tagged , ,

Grafana from docker image: can’t enter grafana homepage at localhost

I successfully run Grafana-server from image. Docker-compose: version: ‘2.1’ services: grafana: image: grafana/grafana:6.7.2 container_name: grafana ports: – ‘3000:5432′ Last entry of log output: HTTP Server Listen logger=http.server address=[::]:3000 protocol=http subUrl= socket= But I can’t enter in Grafana-IU at http://localhost:3000. Error: "Cant connect to server localhost" Source: Docker Questions

By Andrew
Published
Categorised as docker, grafana Tagged ,

Jenkins build in docker and copy artifacts

What I’m trying to do is to build application with docker container and then copy artifacts from it. To build application I just create docker image: def image = docker.build( "build-image:${BuildNumber}", "–build-arg output_path=/output -f src/Dockerfile .") it works fine. Now I need to copy artifacts from it. The idea is to run image with virtual […]

By Andrew
Published
Categorised as docker, jenkins, jenkins-plugins Tagged , ,

When using local DynamoDB with a docker-network the SDK cannot find the resource

I am using AWS SAM to build my application and need to be able to test it locally. I was successful when recreating this blog post How to Deploy a Local Serverless Application With AWS SAM. When following the same steps on a different project, I run into errors. I created a docker network, docker […]

By Andrew
Published
Categorised as amazon-dynamodb, aws-sam, docker Tagged , ,

Docker daemon.json changes the default runtime to nvidia,Does this approach interfere with dockers that don’t need to run on the gpu?

Docker daemon.json change the default runtime to nvidia and add the following. { "default-runtime": "nvidia", "runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } }, } This will include gpu information in the docker that is started by default. Will this approach interfere with dockers that don’t need to run with gpu? Will gpu information […]

By Andrew
Published
Categorised as docker Tagged

Does nvidia-container-runtime interfere with containers that don’t need to run on the gpu?

Docker daemon.json change the default runtime to nvidia and add the following. { "default-runtime": "nvidia", "runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } }, } This will include gpu information in the docker that is started by default. Will this approach interfere with dockers that don’t need to run with gpu? Will gpu information […]

By Andrew
Published
Categorised as docker, nvidia, nvidia-docker Tagged , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq