Docker on AMI Linux
Jump to navigation
Jump to search
Check the status:
$ sudo service docker status
If there isn’t running:
$ sudo service docker start
And then to auto-start after reboot:
$ sudo systemctl enable docker
Don’t forget to add your ec2-user to the docker group:
$ sudo usermod -aG docker ec2-user
And then reboot or just logoff/login again
$ sudo reboot