https://rancher.com/ logo
Title
m

miniature-belgium-38783

07/07/2022, 2:40 PM
Hi Team I have installed Rancher Desktop Version: 1.4.1 on MacBookPro16,1 intel MacOs 12.4 Before that i had Docker Desktop installed , working with portainer with no problem Now it doesn't work This is the docker-compose.yml
version: '3'

volumes:
  portainer-data:
    external: true


services:
  portainer:
    image: portainer/portainer-ce:2.9.3
    container_name: portainer
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock
      - portainer-data:/data
    ports:
      - 9443:9443
My guess is that its related to docker.sock , the docker doesn't receive the permission to it please Advise
w

wide-mechanic-33041

07/07/2022, 2:42 PM
whats the error from compose call?
m

miniature-belgium-38783

07/07/2022, 3:04 PM
There is no error
evel=info msg="2022/07/07 14:31:54 [INFO] [bolt, migrate] [message: Backing up database prior to version upgrade...]"
portainer  | level=info msg="2022/07/07 14:31:54 [INFO] [bolt, backup] [message: creating db backup]"
portainer  | level=info msg="2022/07/07 14:31:54 [INFO] [bolt, backup] [message: Copying db file from /data/portainer.db to /data/backups/common/portainer.db.bak]"
portainer  | 2022/07/07 14:31:54 server: Reverse tunnelling enabled
portainer  | 2022/07/07 14:31:54 server: Fingerprint b8:66:37:19:f8:9a:af:1c:5b:a4:9b:67:4e:95:fe:20
portainer  | 2022/07/07 14:31:54 server: Listening on 0.0.0.0:8000...
portainer  | level=info msg="2022/07/07 14:31:54 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
portainer  | level=info msg="2022/07/07 14:31:54 [INFO] [cmd,main] Starting Portainer version 2.9.3"
portainer  | level=info msg="2022/07/07 14:31:54 [DEBUG] [internal,init] [message: start initialization monitor ]"
portainer  | level=info msg="2022/07/07 14:31:54 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
portainer  | level=info msg="2022/07/07 14:31:54 [INFO] [http,server] [message: starting HTTP server on port :9000]"
The web application "hangs"
w

wide-mechanic-33041

07/07/2022, 3:05 PM
so its running, but nothing listening on 9000 and 9443?
m

miniature-belgium-38783

07/07/2022, 3:10 PM
No in 9443 i get
console log
localhost/:4 
 GET <https://127.0.0.1:9443/15c087a.js> net::ERR_CERT_AUTHORITY_INVALID
localhost/:4 
 GET <https://127.0.0.1:9443/commons/app.61597f3….js> net::ERR_CERT_AUTHORITY_INVALID
localhost/:4 
 GET <https://127.0.0.1:9443/vendors/app.d50da65….js> net::ERR_CERT_AUTHORITY_INVALID
localhost/:4 
 GET <https://127.0.0.1:9443/app.bcae95d….js> net::ERR_CERT_AUTHORITY_INVALID
127.0.0.1:9443/favicon.png:1 
 GET <https://127.0.0.1:9443/favicon.png> net::ERR_CERT_AUTHORITY_INVALID
w

wide-mechanic-33041

07/07/2022, 3:11 PM
so self signed seems to be an issue, but it seems to be available?
m

miniature-belgium-38783

07/07/2022, 3:16 PM
This issue didn’t appear when running with Docker Desktop
w

wide-mechanic-33041

07/07/2022, 3:17 PM
its a different product and years less dev time so not surprised there are things that need to improve.
m

miniature-belgium-38783

07/07/2022, 3:19 PM
In your opinion what should be the solution ?
w

wide-mechanic-33041

07/07/2022, 3:21 PM
m

miniature-belgium-38783

07/07/2022, 3:22 PM
No , i’m using a Mac
w

wide-mechanic-33041

07/07/2022, 3:24 PM
have you checked with any portainer folks on their thoughts? containers seem to be running by the looks of it and traffic is mapped, but there is a TLS trust issue somewhere in the mix it seems that is breaking functionality
m

miniature-belgium-38783

07/07/2022, 4:00 PM
Found the problem There is a collision between Rancher Desktop and portainer 9443 is the port of the WebUI of Rancher desktop and i tried to mount portainer on the same port just changed to 7123 and problem solved
👍 3
w

wide-mechanic-33041

07/07/2022, 4:02 PM
good call on that didn’t even go down that thought path