tommylau/aosp
The new method enables SSH Server, so it can let multiple users to access the AOSP on a server.
docker run --name="aosp" -v /path/to/home:/home -p 22 -d tommylau/aosp
Enter the root shell by running:
docker exec -ti aosp bash
And add user account like normally in *nix environment:
adduser username
Other users can connect to the server like normal remote ssh server
ssh name@server
docker pull tommylau/aosp