Sep 30, 2024
docker run
command.docker run
with options:
--cap-add=SYSPTRACE
: Adds Linux capabilities (traces processes).-e ACCEPT_EULA=1
: Accepts the End User License Agreement.-e SA_PASSWORD=[your password]
: Sets the sysadmin password.-p 1443:1433
: Maps port 1443 on host to 1433 in container.--name azure-sql-edge
: Names the container.-d
: Runs the container in detached mode (background).localhost
, Username sa
, Password (used in previous step).SQL volume
) and map it inside the container.docker volume list
.docker volume rm [volume_name]
.docker logs [container_id]
.docker logs -f [container_id]
.