First, you will need to determine the version of ddlctl
you want to upgrade to. You can find the latest version on the releases page.
Next, follow these steps:
-
Set some environment variables to make the download process easier:
export VERSION={version from release page} export OS={darwin|linux} export ARCH={arm64|x86_64}
-
Download the
ddlctl
binary for your operating system and architecture with the following script:wget https://mirrors.domino.tech/s3/domino-artifacts/ddlctl/${VERSION}/ddlctl_${VERSION}_${OS}_${ARCH}.tar.gz
-
Extract the binary from the tarball:
tar -xvf ddlctl_${VERSION}_${OS}_${ARCH}.tar.gz
-
Move the binary to a directory in your PATH, such as
/usr/local/bin
:
mv ddlctl_${VERSION}_${OS}_${ARCH}/ddlctl /usr/local/bin
Important
|
Newer versions of Docker Desktop changed a default setting that blocks access to the default Docker socket, which ddlctl depends on for some operations.
Verify that you have enabled Allow the default Docker socket to be used under Advanced Settings before continuing.
|