1. 
sudo apt update
2.
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
3.
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
5.
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli
6.
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
7.
sudo chmod +x /usr/local/bin/docker-compose
8.
docker-compose --version


ref: https://docs.amazonaws.cn/en_us/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

check the capacity added from aws management console with lsblk. Increase as much as you add as the growpart.[nvme]

Daehee Kim

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store