Após copiar o arquivo Dockerfile para a instância e tentar rodar com o comando:
sudo docker build -t jenkins .
Acontece um erro em uma das etapas:
=> ERROR [5/7] RUN apt-get update -qq && apt-get -y install docker-ce 2.1s
------
> [5/7] RUN apt-get update -qq && apt-get -y install docker-ce:
1.329 Reading package lists...
1.880 Building dependency tree...
1.991 Reading state information...
1.997 Package docker-ce is not available, but is referred to by another package.
1.997 This may mean that the package is missing, has been obsoleted, or
1.997 is only available from another source
1.997
2.000 E: Package 'docker-ce' has no installation candidate
O erro aponta que não está conseguindo instalar o pacote docker-ce, mas ao tentar instalar manualmente com sudo apt-get install docker-ce, diz que o pacote já está instalado. O que fazer?