centos with development environment
51
Run with docker on linux
docker run -t -i --name centos-workstation -v /share:/share -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 5901:5901 -p 3000:3000 -p 3001:3001 -p 8080:8080 -p 8081:8081 -p 8090:8090 -p 8091:8091 -p 9090:9090 --privileged terwer/centos-with-dev-env:1.0.0
Run with docker desktop
docker run -t -i --name centos-workstation -v C:/Users/Terwer/Documents/docker/centos-workstation/share:/share -v C:/Users/Terwer/Documents/docker/centos-workstation/sys/fs/cgroup:/sys/fs/cgroup:ro -p 5901:5901 -p 3000:3000 -p 3001:3001 -p 8080:8080 -p 8081:8081 -p 8090:8090 -p 8091:8091 -p 9090:9090 --privileged terwer/centos-with-dev-env:1.0.0
run with docker-compose
Dockerfile
FROM terwer/centos-with-dev-env:1.0.0
docker-compose.yml
version: '3'
services:
docker-centos-vnc:
privileged: true
tty: true
image: terwer/centos:7
container_name: docker-centos
build:
context: ./
dockerfile: ./Dockerfile
ports:
- 5901:5901
- 3000:3000
- 3001:3001
- 8080:8080
- 8081:8081
- 8090:8090
- 8091:8091
- 9090:9090
volumes:
- ./share:/share
- ./sys/fs/cgroup:/sys/fs/cgroup:ro
Content type
Image
Digest
Size
999 MB
Last updated
over 7 years ago
docker pull terwer/centos-with-dev-env:1.0.0