Docker Installation in China using EC2 Instances

HI,

I am wondering if anyone had ran into issues into docker installation.
For example,

sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg

throws error:

curl: Failed to connect to download.docker.com port 443: Connection timed out

I am suspecting that Docker installation is “blocked” in China? Any advice are appreciated.
Thanks!