Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (47.6k points)

I’m trying to run docker but every time I run it, I get the below error:

WARNING: No memory limit support

WARNING: No swap limit support

 

1 Answer

0 votes
by (106k points)

To check the error you just need to clean up some space on docker, you can use the following commands to solve the issue:

docker system prune

As you need to clean your system, firstly you need to remove containers and then the images. You can do this by specifying the #CONTAINER_ID and #IMAGE_ID you can remove selected containers and images that are no longer needed.

$ docker rm #CONTAINER_ID

$ docker rmi #IMAGE_ID

Browse Categories

...