Portainer설치 (윈도우10)

https://gist.github.com/SeanSobey/344edd228922ffd4266ae7d451421ab6

  1. docker without TLS 활성화
  • Docker settings → General → Expose docker daemon on tcp://…
  1. Powershell 관리자 권한으로 실행하고 볼륨 만들기

    > docker volume create portainer_data
    
  2. 실행

    1. with no auth

      > docker run -d -p 3040:9000 --name portainer --restart=always -v portainer_data:/data portainer/portainer --no-auth -H tcp://docker.for.win.localhost:2375
      
    2. with auth

      docker run -d -p 3040:9000 --name portainer --restart=always -v portainer_data:/data portainer/portainer -H tcp://docker.for.win.localhost:2375
      
  3. 접속

    http://localhost:3040

  4. 제거

    > docker stop portainer
    > docker rm portainer
    > docker rmi portainer/portainer
    > docker volume rm portainer_data