I'm trying to run wordpress inside docker.
I've been following this tutorial : https://www.sitepoint.com/how-to-use-the-official-docker-wordpress-image/
But when I run this command :
docker run -e WORDPRESS_DB_PASSWORD=xxxxxx -d --name wordpress --link wordpressdb:mysql -p 127.0.0.1:8080:80 -v "$PWD/":/var/www/html wordpress
The container crashes, and in the logs I can see things like :
tar: ./wp-admin: Cannot mkdir: Permission denied
ls -la $PWD
PS:This should be a comment but I do not have enough rep Are you sure you are in the right directory?