Public | Automated Build

Last pushed: 9 days ago
Short Description
Docker with CentOS 7, systemd and nginx
Full Description

docker-centos-nginx

Docker with CentOS 7, systemd and nginx

Pull

docker pull kokspflanze/centos-nginx

Running Container

docker run -v /opt/docker/docker_test/nginx:/etc/nginx/conf.d --restart=always -d -it kokspflanze/centos-nginx

Attach Container

docker exec kokspflanze/centos-nginx /bin/bash
Docker Pull Command
Owner
kokspflanze
Source Repository

Comments (1)
dingwenxiang0
3 months ago

hello kokspflanze.
When i use docker attach NAME!.
the shell controller block and nothing.

last i found a command from sbernard:

docker exec -it NAME! bash -c 'TERM=xterm bash'

that is worked.