This is a super simple way to retain the data and settings that you create and change on your SQL Server Docker instance. There’s a lot of talk about attaching databases after you recreate your Docker container, but I found that you just have to…
Category: containerization
There are three ways to get into bash in a docker container: docker exec -it containername bash docker exec -it containername “bash” docker exec -it containername /bin/bash Once you run those from the command line, it brings you to the top level of the file…
Run psql in docker exec docker exec -ti NAME_OF_CONTAINER psql -U YOUR_POSTGRES_USERNAME
This requires a different image in Docker. You can’t just use the postgres image and create an extension in it. Instead, you have to use the postgis image. This image will have a database in it already setup for you to use with postgis. If…
This is a super simple way to retain the data and settings that you create and change on your PostgreSQL Docker instance. There’s a lot of talk about attaching databases after you recreate your Docker container, but I found that it’s easier to have persistent…
I went to create a container and got an error that it already existed. Hmm, I thought I had removed it. To see all your Docker containers running or not, run this at the command line: I discovered I had a bunch of them hanging…
This is a super simple way to retain the data and settings that you create and change on your SQL Server Docker instance. There’s a lot of talk about attaching databases after you recreate your Docker container, but I found that you just have to…
sudo docker run -d -p 3306:3306 –name=mysqlserver –env=”MYSQL_ROOT_PASSWORD=strongpasswordhere” mysql
Once you have docker configured to run locally, see blog post https://sqlkitty.home.blog/2019/12/15/setting-up-docker-with-sql-server-backup-on-mac/ for more details Then you can setup Oracle in Docker Login into docker store in web browser – or follow this to use a web browser via ssh – https://superuser.com/questions/139426/accessing-a-url-on-ssh-without-using-a-web-browser Search for oracle…