how to bash into docker container
docker exec -it nginx /bin/bash
how to bash into docker container
docker exec -it nginx /bin/bash
docker execute command in container
# Windows Powershell | CMD
# Make sure open as administrator
docker exec <container name> <command>
# Linux
sudo docker exec -it <container name> <command>
docker run command on container
sudo docker exec -it <container name> <command>
docker compose keep container running
version: '2'
services:
my-test:
image: ubuntu
command: tail -F anything
run docker container with database as rds metabase
docker run -d -p 3000:3000
-e "MB_DB_TYPE=postgres"
-e "MB_DB_DBNAME=metabase"
-e "MB_DB_PORT=5432"
-e "MB_DB_USER=<username>"
-e "MB_DB_PASS=<password>"
-e "MB_DB_HOST=my-database-host"
--name metabase metabase/metabase
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us