docker2aci command not found

In this troubleshooting guide we learn how to fix docker2aci command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

docker2aci: command not found

or when using sudo you get the following error message

sudo: docker2aci: command not found

Solutions to docker2aci: command not found

How To Fix docker2aci: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu docker2aci is provided by docker2aci package.

docker2aci is:

docker2aci is a CLI binary that converts Docker images to ACI (https://github.com/appc/spec/blob/master/SPEC.md#app-container-image). It takes as input either a file generated by “docker save” or a Docker registry URL. It gets all the layers of a Docker image and squashes them into an ACI image. Optionally, it can generate one ACI for each layer, setting the correct dependencies.

To fix this problem, we can install more using the command below.

sudo apt-get -y install docker2aci

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install docker2aci.

sudo apt -y install docker2aci

Or if you have aptitude installed you can use the following command.

sudo aptitude install docker2aci

Summary

In this tutorial we learn how to fix docker2aci command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.