Skip to content

Yueyehua/docker-centos-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

debian-python

This is a CentOS 7 docker image with python and pyenv installed.

Prerequisites

  • Docker

Usage

docker pull yueyehua/centos-python
docker run \
  -d \                                           # daemonize
  --privileged \                                 # for systemd
  -v /sys/fs/cgroup:/sys/fs/cgroup:ro \          # for systemd
  --name python \                                # container name
  -h python \                                    # hostname
  yueyehua/centos-python
docker exec -ti python bash
[Do something here]
docker stop python
docker rm python

About

This is a CentOS 7 docker image with python and pyenv installed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published