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:

  • How to do a health-check to Spring Boot app running inside Windows Docker Windows Container with Ansible?
  • How to assign domain names to containers in docker
  • Warning about system root certificate pool crypto/x509
  • Docker - copy file from container to host
  • error with docker container with postgresql
  • Docker nancy - no route to host
  • # sudo docker run -i -v $PWD:/home/yyyy/work aaaa/bbbb git clone 
    Cloning into 'xxxx'...
    /home/yyyy/work/yyyy/.git: Permission denied

    What do i do?

  • what about the docker image if a container is crashed?
  • docker multi-host networking cluster-advertise option
  • How to solve mounting error when running docker?
  • I am trying to assign an ip from our corporate LAN to a docker container
  • docker commit fails with “no such id”
  • Amazon ECS troobleshooting task start failures
  • 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.