Coder Social home page Coder Social logo

docker-flask-games-'s Introduction

Docker+Flask

APPs in this repo

  • guessing_app
  • tic_tac_toe
  • hangman
  • rock_paper_scissors
  • you can run these locally or using the docker playground:
https://labs.play-with-docker.com/

Docker

pull from docker hub

docker pull lawrencetchop/guessing_app
docker pull lawrencetchop/tictactoe
docker pull lawrencetchop/hangman
docker pull lawrencetchop/rockpaperscissors

run from docker hub

docker run -d -p 8080:8080 lawrencetchop/guessing_app
docker run -d -p 1000:1000 lawrencetchop/tictactoe
docker run -d -p 8080:8080 lawrencetchop/hangman
docker run -d -p 8080:8080 lawrencetchop/rockpaperscissors

Build

docker build -t guessing_app .

Run

docker run -d -p 8080:8080 guessing_app

Stop

docker stop <container_id>

Remove

docker rm <container_id>

List

docker ps

List all

docker ps -a

Remove all

docker rm $(docker ps -a -q)

push to docker hub

docker login
docker tag guessing_app <docker_hub_username>/guessing_app  
docker push <docker_hub_username>/guessing_app

pull from docker hub

docker pull <docker_hub_username>/guessing_app

run from docker hub

docker run -d -p 8080:8080 <docker_hub_username>/guessing_app

docker-flask-games-'s People

Contributors

lawrencemuema avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.