In my earlier article, we have seen how to install SQL Server on macOS using Docker. Now we will see how to remove the SQL Server container from Docker on macOS.
Removing the SQL Server container from Docker is quiet simple. Just open Terminal.app and run the two commands given below.
docker stop <<Name_Of_The_SQL_Server>> docker rm <<Name_Of_The_SQL_Server>>
docker stop mssql_docker docker rm mssql_docker
- More about running SQL Server container images with Docker at Microsoft Docs.