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:

  • Dockerhub automated build: BitBucket repository with private submodules
  • Docker: private registry access
  • Docker 32-bit Image downloaded, but tells its a 64-bit architecture
  • docker : When creating a machine, VT-X/AMD is enabled yet
  • docker: possible to create a single file with binaries and packages installed?
  • How to change docker0 setting in CoreOS?
  • # 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?

  • Less awkward method of using all available CPUs in Docker container:
  • Upgrade docker on CentOS 7
  • When starting WAS 8.5 app server from a docker container getting 502 Bad Gateway error
  • IP variable expansion in Kubernetes Pod definition
  • Building solr core in cloud mode with docker
  • What is the difference between running software in a Docker container Vs Real OS
  • 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.