Sign inSign up

leedothk/centos

By leedothk

•Updated over 6 years ago

Image
0

27

leedothk/centos repository overview

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

  • 80 은 nginx, 5000 은 flask, 8000 은 uWSGI 테스트 하기 위한 포트이고, 실제 서비스는 nginx 를 통해 접속한다.

systemctl start nginx

systemctl start myproject

localhost:80

Tag summary

Content type

Image

Digest

Size

188.7 MB

Last updated

over 6 years ago

docker pull leedothk/centos:uWSGI