Sign inSign up

silvionetto/python3

By silvionetto

Updated almost 9 years ago

Python 3

Image
0

10K+

silvionetto/python3 repository overview

python

Build

docker build -t silvionetto/python3 .

Run

docker run -it --name python3 silvionetto/python3 bash

Start

systemctl start docker

Stop

systemctl stop docker

Restart

systemctl restart docker

Crete a systemd direcotry

mkdir -p /etc/systemd/system/docker.service.d

Create http-proxy.conf file

touch /etc/systemd/system/docker.service.d/http-proxy.conf

Add the content to the file

[Service] Environment="HTTP_PROXY=http://proxy.example.com:80/"

Create https-proxy.conf file

touch /etc/systemd/system/docker.service.d/https-proxy.conf

Create https-proxy.conf file

[Service] Environment="HTTPS_PROXY=http://proxy.example.com:80/"

Flush Changes

systemctl daemon-reload

Restart Docker

systemctl restart docker

Tag summary

Content type

Image

Digest

Size

466.8 MB

Last updated

almost 9 years ago

docker pull silvionetto/python3