Portainer Install Debug log:
/config/portainer.debug.log 2026-01-10 10:29:59
+ [[ -z '' ]]
+ portainerHost=http
+ portainerAdminPassword=(Redacted)
+ [[ 12 -lt 12 ]]
++ cut -d : -f 2
++ htpasswd -nbB admin 1206ld_4Port
+ hashedPassword='$2y$05$Z6T7A0WK1ZiVwJF8Mmrsb.051dkLn3DScrmWFMxgvYeBlT3w27CA2'
+ portainerHttpPort=9000
+ portainerHttpsPort=9443
+ docker run -d -p 9000:9000 -p 9443:9443 --name portainer --restart always --pull always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest --admin-password '$2y$05$Z6T7A0WK1ZiVwJF8Mmrsb.051dkLn3DScrmWFMxgvYeBlT3w27CA2'
+ echo 'Portainer container created successfully'
+ sleep 2
++ curl -s -X POST http://http:9000/api/auth -H 'Content-Type: application/json' -d '{"Username":"admin", "Password":"Redacted"}'
++ jq -r .jwt
+ jsonWebToken=
++ curl -s -X POST http://http:9000/api/users/1/tokens -H 'Authorization: Bearer ' -H 'Content-Type: application/json' -d '{"password": "(Redacted)", "description": "olivetin"}'
++ jq -r .rawAPIKey
+ portainerToken=
++ jq -r .Id
++ curl -s -X POST http://http:9000/api/endpoints -H 'Authorization: Bearer ' -F Name=local -F EndpointCreationType=1
+ portainerEnv=
+ [[ -n '' ]]
+ echo -e '\nPortainer token creation and environment initialization failed...'
Latest WSL2 is installed:
PS C:\Windows\system32> wsl --update
Checking for updates.
The most recent version of Windows Subsystem for Linux is already installed.
OS Release info:
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
BTW, I can get to Portainer on port 9000, and (no surprise) it doesn't list any access tokens.