Skip to content

edstone26/Trading

Repository files navigation

Docker Trading Container Commands

A collection of useful Docker commands for managing the trading application container.

Build and Deployment

Build Docker Container

docker compose -f docker-compose-brokerage.yml build trading-brokerage
docker compose -f docker-compose-roth.yml build trading-roth

Push Docker Container to Registry

docker compose -f docker-compose-brokerage.yml push trading-brokerage
docker compose -f docker-compose-roth.yml push trading-roth

Repository Management

Pull and Build Repository

cd trading/
docker-compose -f docker-compose-brokerage.yml pull
docker-compose -f docker-compose-roth.yml pull
docker-compose -f docker-compose-brokerage.yml up -d
docker-compose -f docker-compose-roth.yml up -d

May have to remove old docker

docker-compose down
docker-compose rm -f

Container Management

Stop Running Container

docker stop trading_trading_1

Build and Start Container

docker compose -f docker-compose-brokerage.yml up --build
docker compose -f docker-compose-roth.yml up --build

Additional Useful Commands

View Running Containers

docker ps

View Container Logs

docker logs trading_trading_1

Remove Stopped Containers

docker container prune

View All Images

docker images

Note: Make sure you're in the correct directory when running these commands, and that your docker-compose.yml file is properly configured for the trading service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors