Run Postgres in Docker

docker pull postgres
docker run –name dockerPostgresSrv -e POSTGRES_PASSWORD=postgrespassword -d postgres
docker run -it –rm –link dockerPostgresSrv:postgres postgres psql -h postgres -U postgres
—– all postgres commmand are case sensitive
list all databases
–list tables

Run Mysql in Docker

docker pull mysql
docker run –name dockerMysqlSrv -e MYSQL_ROOT_PASSWORD=dockerMysqlPass -d mysql
docker run -it –link dockerMysqlSrv:mysql –rm mysql sh -c ‘exec mysql -h”$MYSQL_PORT_3306_TCP_ADDR” -P”$MYSQL_PORT_3306_TCP_PORT” -uroot -p”$MYSQL_ENV_MYSQL_ROOT_PASSWORD”‘

Turning Hyper-V ON OFF Windows 10

To disable Hyper-V in order to use VirtualBox, open a command prompt as administrator and run the command:

bcdedit /set hypervisorlaunchtype off

You’ll need to reboot, but then you’ll be all set to run VirtualBox. To turn Hyper-V back on, run:

bcdedit /set hypervisorlaunchtype auto

and then reboot.