Creating a container and granting access to home directory


#1

I’d like to be able to edit any file in my home directory. I took a stab at creating a docker-compose file. I suspect I’m not doing something correctly with the enivornment setting. Any suggestions?

  ide:
    image: "cloud9/shared"
    container_name: "cloud9"
    volumes:
      - ${USERDIR}:/data
    ports:
      - 8321:8080
    environment:
      - C9_WORKSPACE=${USERDIR}