Docker containers encapsulate everything an application needs to run. To make it easier for you to automate the management of Akamai services, we bundled the base Akamai command-line interface (CLI), many CLI packages, and third-party tools like HTTPie, cURL, and Terraform into a Docker container, called Akamai Developer Environment. You can use the same docker command to run the Akamai Developer Environment on Linux, macOS, and Windows.
Download the Docker Desktop for your operating system at docker.com and run the installation program.
Once Docker Desktop is installed, click the docker icon and make sure it says “Docker Desktop is Running.”
First, follow the instructions to Create authentication credentials.
Then, issue this command to authenticate your API requests:
docker run --rm -it --name akamai -v $HOME/.edgerc:/root/.edgerc akamai/shell
This mounts your local
$HOME/.edgerc into the container. To change the local path, modify the
Once you've installed Docker, you can issue a command to set up the Akamai Development Environment.
Issue this command to run Docker in interactive mode:
docker run --rm -it --name akamai akamai/shell
This will automatically:
Name your Docker image
Put the contents from the Docker Hub under
Install the base Akamai CLI and CLI packages you can use to manage different services
Install HTTPie, cURL, and Terraform as well as runtime dependencies like Python, Node.js, and GoLang
docker pull command to access additional builds on the Akamai Docker Hub.
You can find additional instructions about the Akamai Development Environment.
If you’re using the Akamai Development Environment with the Apple M1 chip, you might experience issues. You can install the CLI with Homebrew as a workaround.
To see a demonstration of this process, check out this video:
Updated 10 months ago