Get help
docker --help
List all existing containers
(without truncating result string)
docker ps -a --no-trunc
Start a container
(containner name is case sensitive)
docker start <container name>
Show current downloaded images
docker images
To download an image from a registry
(use :latest or :1.2.3 tag for specific version)
docker pull <docker_image>:latest
To create and run a containner
(use create instead of run to just create a containner)
docker run -it --name DataApiBuilder -v "c:\DataAPIBuilder\Samples:/App/Samples" -p 5004:5000 mcr.microsoft.com/azure-databases/data-api-builder --ConfigFileName ./Samples/dab-config.json --add-host host.docker.internal:host-gateway
Assumptions in the above command: you are run the command under C:\DataAPIBuilder folder, and there is a Samples subfolder containing the dab-config.json DataApiBuilder configuration file. With the –add-host, the container will then be able to communicate with externa resources via IP, such as connect to SQL database on the host server.
To upgrade a container to the new version
First download the image. Then remove the old container (if want to reuse the same container name. Remember to record any specific settings using docker ps -a –no-trunc). Recreate a new container with the newly downloaded image.
docker pull <docker_image>:latest
docker rm <container id>
docker create/run ...
Other references
Docker Advice for SQL Server in ProductionFEATURED TAGS
ai
api
automation
availability
availability-sets
availability-zones
aws-vm
azure
azure-automation-runbook
azure-blob
azure-cosmos-db
azure-data-lake
azure-deployment
azure-function-app
azure-functions
azure-openai
azure-sign-in
azure-site-recovery
azure-sql-database
azure-subscription
azure-vm
base64
certificate
change-data-capture
change-tracking
chrome
clr
container
cte
data-api-builder
data-conversion
data-gateway
database-mail
database-role
database-size
date-table
dax
db-config
derived-table
diagram
direct-query
disk-management
disk-space
docker
downtime
dtc
dynamic-m-parameter
embedding
encrypted-connection
excel
excel-online
excel-online-for-business
execution-plan
extended-events
external-data
fabric
fabric-capacity
failover-cluster
fk
geometry
hierarchy
httpwebrequest
hugo
hyper-v
incognito-mode
index
infrastructure
inline-tvf
json
kql
lakehouse
linked-server
live-query-statistics
locking
m
machine-learning
machine-learning-model
machine-learning-services
master-key
mcp
mdx
memory
memory-grant
mermaid
mirrored-sql-server
network
network-card
network-category
office-script
onedrive
onnx-runtime
openrowset
p2v
parquet
performance
polybase
power-automate
power-bi
power-bi-report-tricks
power-platform
power-query
powershell
printer
public-ip-address
pyspark
python
qgis
qt-designer
query-performance
query-plan
query-troubleshooting
r
regex
replication
route
s3
schema-design
scripting
self-signed-certificate
server-role
sharepoint
snowflake
software-development
sofware-development
spark
sql
sql-2025
sql-agent
sql-availability-group
sql-error
sql-failover-cluster-instance
sql-index
sql-openjson
sql-permission
sql-recovery
sql-script
sql-security
sql-server
sql-server-admin
sql-server-config
sql-statistics
ssis
ssisdb
ssl
ssl/tls-error
ssms
table-expression
tempdb
terraform
tips
troubleshooting
unicode
view
visual-studio
visual-studio-code
vmware
wait-statistics
wi-fi-connection-issue
windows-settings