docker run -itd -v /path/to/workfolder:/work -e BUILDER_UID="$(id -u)" -e BUILDER_GID="$(id -g)" --name container_name kortanzh/aosp_nougat bash
docker exec -it --user "$(id -u)" container_name bash
Do not use exec to open a new bash since there are some environment variables set in entrypoint.
docker attach container_name
Do not use exit to quit if you are half done your jobs, use ctrl-p ctrl-q to detach from the container.
Content type
Image
Digest
Size
281.6 MB
Last updated
over 5 years ago
docker pull kortanzh/aosp_nougat