error creating aufs mount to var lib docker aufs mnt 6c1b42ce1a98b1c0f2da7f1-init invalid argument

0 votes

Hi Guys,

I tried to build one docker image using Docker file. But I got this below error.

error creating aufs mount to /var/lib/docker/aufs/mnt  
/6c1b42ce1a98b1-init: invalid argument
Apr 16, 2020 in Docker by akhtar
• 38,260 points
6,918 views

1 answer to this question.

0 votes

Hi@akhtar,

To solve this error, you have to check if this /var/lib/docker/aufs/mnt is mounted or not. To check you can use mount -l command. 

If the folder is mounted, then follow the bellow given steps.

$ docker stop -f $(docker ps -a -q) //it will stop all the containers.
$ docker rm -f $(docker ps -a -q) //Remove all the containers.
$ docker rmi -f $(docker images -q) //Remove all the images.

Hope this will work.

answered Apr 16, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

answered Jul 10, 2018 in Docker by Kalgi
• 2,680 points
4,873 views
0 votes
1 answer

Error saying "build" requires 1 argument. See 'docker build --help'

Try adding a period at the end ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 7,060 points
4,867 views
0 votes
1 answer

Docker error cannot delete docker container, conflict: unable to remove repository reference

First, remove the container names $ sudo docker ...READ MORE

answered Jul 31, 2018 in Docker by Kalgi
• 52,350 points
5,806 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP