Docker Commands For DBAs

Marek Masko has some commands which will help DBAs get familiar with Docker:

Stop container

To stop container:

  • docker stop <container ID>

To stop all running containers:

  • docker stop $(docker ps -a -q)

Most of the commands are straightforward but it’s nice to have a reference guide.

Related Posts

Odd Behavior With Altering Columns

Solomon Rutzky points out a few things which you can unintentionally change when running an ALTER TABLE [tbl] ALTER COLUMN [col] command: If the column is NOT NULL, then not specifying NOT NULL will cause it to become NULLable. The documentation for ALTER TABLE even states: ANSI_NULL defaults are always on for ALTER COLUMN; if not specified, the column is nullable. Let’s see […]

Read More

Deploying SQL Server To Kubernetes The Easy Way

Andrew Pruski doesn’t want to mess with a bunch of yaml files: In previous posts I’ve run through how to deploy sql server to Kubernetes using yaml files. That’s a great way to deploy but is there possibly an easier way?Enter Helm. A package manager for Kubernetes.Helm packages are called charts and wouldn’t you know it? There’s a […]

Read More

Categories

June 2018
MTWTFSS
« May Jul »
 123
45678910
11121314151617
18192021222324
252627282930