Create a custom image with Docker
Last updated: July 16, 2026
If you cannot use the default Liquibase Docker container image, you can create a custom image. You can either extend an existing Dockerfile or create a completely new image.
Procedure
1
Download the latest Microsoft SQL Server driver, for example 12.2.0.
2
Start a Docker container.
docker run -it liquibase:4.33.0 sh3
Do not exit out of this container. In a new terminal window, obtain the Container ID.
docker ps4
Copy the Microsoft SQL Server 12.2.0 JAR file into the running container.
loading
5
Create a new Docker image.
loading
6