Reputation: 6039
Following this instructions to install Docker on EC2 Ubuntu. all went well but this step:
$ sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
sed: can't read /etc/bash_completion.d/docker.io: No such file or directory
How to go from here? Thanks
Upvotes: 2
Views: 2723
Reputation: 6039
The following modification to the commands in the link worked for me:
sudo apt-get update
sudo apt-get -y install docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker
sudo update-rc.d docker defaults
sudo usermod -a -G docker ubuntu
The the rest of the commands in the link
Upvotes: 7