This is really embarrassing at this point.
Did that and got this
latest: Pulling from bnhf/olivetin
Digest: sha256:930c5bd00dddae5edc684548d19a245d16c5883331b8ded5cdaaa63d96772ffa
Status: Image is up to date for bnhf/olivetin:latest
5519549f2234edcab90fe8ca11cb44e0519f58f3743efa66ae243caed8f18f7f
and this
Standard Output
Portainer container creation failed
Standard Error
+ [[ -z '' ]]
+ portainerHost=127.0.0.1
+ portainerAdminPassword=[Redacted]
+ [[ 14 -lt 12 ]]
++ htpasswd -nbB admin [Redacted]
++ cut -d : -f 2
+ hashedPassword='$2y$05$7HEfEvFQ4x1hTXreq.ARg.h7e8wu0gEagRJp.k4tsnke2OK723gJK'
+ 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$7HEfEvFQ4x1hTXreq.ARg.h7e8wu0gEagRJp.k4tsnke2OK723gJK'
latest: Pulling from portainer/portainer-ce
Digest: sha256:224a378fbc5ae579dc9d570c5ca2e5e981a4a003c8d7c2c5b5e482af97c2f87c
Status: Image is up to date for portainer/portainer-ce:latest
docker: Error response from daemon: Conflict. The container name "/portainer" is already in use by container "b5459aea0ab1345b4bb8d7354aaf76777dc7f2c37c94073ecc9b6f8e8ced6a2d". You have to remove (or rename) that container to be able to reuse that name.
Run 'docker run --help' for more information
+ echo 'Portainer container creation failed'
+ exit 0

One of the concepts to understand with Docker is that it's a lightweight virtualization environment, which means that each container is a type of virtual machine.