I have the following Dockerfile:
FROM ubuntu ENV NPM_CONFIG_LOGLEVEL warn ENV admin_user=\"PeerAdmin\" network_name=$1 version=$2 hversion=hlfv1 fabrik_
I had this same issue, run this command in your terminal. This fixed the problem.
sudo apt-get install docker-ce docker-ce-cli containerd.io