Can we install discourse in another container distro?

But there is no problem! I just tested in a container we deployed today in AWS.

Here, let me curl from the container that is running this forum right now:

root@app-07d915db576094080:/# curl https://acme-v01.api.letsencrypt.org/directory -vv -I 
*   Trying 104.86.94.242...                                                              
* Connected to acme-v01.api.letsencrypt.org (104.86.94.242) port 443 (#0)                
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt                           
* found 594 certificates in /etc/ssl/certs                                               
* ALPN, offering http/1.1                                                                
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384                             
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: acme-v02.api.letsencrypt.org (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: CN=acme-v02.api.letsencrypt.org
*        start date: Fri, 25 May 2018 00:25:19 GMT
*        expire date: Thu, 23 Aug 2018 00:25:19 GMT
*        issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
*        compression: NULL
* ALPN, server accepted to use http/1.1
> HEAD /directory HTTP/1.1
> Host: acme-v01.api.letsencrypt.org
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK

The curl version does negotiate http/1.1 indeed (it would try both 1.1 and 2.0 in latest curl) but it works just fine. There is no way a site doesn’t offers http 1.1 today.

I think you have some bad configured proxy somewhere that is breaking ALPN.