root 권한문제를 피하려면 아래 데몬으로 실행 후 exec 로 접속해야 함
docker run --privileged -d --name machine -h machine -p 80:80 -p 5000:5000 -p 8000:8000 centos /sbin/init
docker exec -it machine bash
systemctl start nginx
systemctl start myproject
localhost:80
Content type
Image
Digest
Size
188.7 MB
Last updated
over 6 years ago
docker pull leedothk/centos:uWSGI