import ( "github.com/docker/docker/engine" ) func main() { // Create an engine client cli := engine.New() // Define a job to run a container job := cli.Job("create", "ubuntu:latest") // Start the job job.Run() } func main() { // Create an engine client cli := engine.New() // Define a job to build an image job := cli.Job("build", ".") job.Setenv("DOCKER_BUILDKIT", "1") job.Setenv("HTTP_PROXY", "http://proxy.example.com:8080") job.Setenv("HTTPS_PROXY", "http://proxy.example.com:8080") // Start the job job.Run() }In the first example, a job is defined to create a container running the latest version of Ubuntu. In the second example, a job is defined to build an image from the current directory using Docker BuildKit and with proxy settings. Overall, the `github.com/docker/docker/engine` package provides a powerful way to interact with the Docker engine through Go code.