Docker cloning – permission denied

Ok I’m fairly new to UBUNTU but was just following some “simple steps”, you know the sort that someone always claims will work out the box yet never ever does?

Anyway here’s what I get:

  • MS Edge running in guest machine does not store cookies from site hosted in another guest
  • docker run [9] System error: exec format error
  • Send mails from redmine container
  • How do I configure boot2docker to start my containers on boot?
  • Linking a SQL Server with a liferay instance running in a docker container
  • not able to start uwsgi as a service in docker
  • # sudo docker run -i -v $PWD:/home/yyyy/work aaaa/bbbb git clone https://github.com/xxxx/yyyy.git 
    
    Cloning into 'xxxx'...
    /home/yyyy/work/yyyy/.git: Permission denied
    

    What do i do?

  • Docker containers with one public IP
  • Docker alpine image : ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 “No such file or directory”)
  • ECONNREFUSED nodeJS with express inside docker container
  • docker-compose with docker-swarm under docker-machine not mounting volumes
  • Register to Eureka from Docker with a custom IP
  • Kubernetes - Creating a specific namespace for “services”
  • One Solution collect form web for “Docker cloning – permission denied”

    docker run ... aaaa/bbb git means running the aaaa/bbbb image (based probably on Ubuntu)

    It depends on how that image was built (its Dockerfile): it the WORKDIR was set to /home/yyyy/work, but USER was set to another user, there would be a permission issue

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.