Docker commands

From Yefu's notes
Jump to: navigation, search

run with port forwarding:

 
docker run -d --rm -p 3306:3306 reboot8/redkvmysql

docker run -d --rm -p 5432:5432 reboot8/redkvpostgres

docker exec -it 1a719b7803b0 bash