Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Template

Basic docker image building steps to build a Python image that contains local packages and pandas (which requires additional things to be installed into Docker base image).

Building & Running an Image

Build Docker image with...

$ docker build -t your-image-name:tag .

See what images you have installed...

$ docker images

Run an image in a container, have the container close on exit, and open a bash prompt in the image...

$ docker run -it --rm your-image-name:tag /bin/bash

Pushing an Image

Tag the image if you haven't already (otherwise just login)...

$ docker tag your-image-name your-docker-username/your-image-name:tag

Log in to Docker...

$ docker login

Push the image...

$ docker push your-dockerhub-username/your-image-name:tag

Delete and Image

Delete an image...

$ docker rmi your-image-name:tag

About

A template for creating Docker images for Python projects.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages