CyberAstronaut101 / docker-content

Misc content related to docker that I find myself using all the time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# Build python flask docker image
docker build -t flask-agent:latest .

# Run the flask agent
docker run -p 5000:5000 -e AGENT_NAME='demo_agent' flask-agent
# detached with env var for flask set
docker run -d -p 5000:5000 -e AGENT_NAME='demo_agent' flask-agent

Second Part: Multiple Agents

# NOTE: Assumes previous flask-agent image is built and present on system

About

Misc content related to docker that I find myself using all the time


Languages

Language:Python 58.8%Language:Dockerfile 41.2%