
docker run -it -d --name hello -p 8080:80 aerth/php:latest
####################
Or you may want to customize and tag your own image.
docker build -t username/php .
docker run -it -d --name hello -p 8080:80 username/php:latest
$ docker exec -it hello bash
bash-4.3# apk update && apk add nano vim
exit
$ docker commit hello aerth/hello:latest
$ docker run -it -d -p 8081:80 aerth/hello:latest
Content type
Image
Digest
Size
32.4 MB
Last updated
over 8 years ago
docker pull aerth/php