sitelink1 https://lemariva.com/blog/2018/05/tutori...windows-10 
sitelink2  
sitelink3  
extra_vars6  

Installation on Windows 10

  1. Open the Docker Menu on the right side of the Windows Taskbar and go to Settings (3rd. Option).

    Docker Menu
     
    As you can see from the sixth option, I am running Docker using Linux Container (I recommend this type of containers)! For native Windows containers, check the last section of this post.
  2. On the Tab general, activate the option Expose daemon on tcp://localhost:2375 without TLS (last Option).

    Docker Settings
     
  3. Then, open a PowerShell with administrator rights and type the following:
    netsh interface portproxy add v4tov4 listenaddress=10.0.75.1 listenport=2375 connectaddress=127.0.0.1 connectport=2375
    netsh advfirewall firewall add rule name="docker management" dir=in action=allow protocol=TCP localport=2375


    The first line connects 10.0.75.1:2375 to the daemon socket on 127.0.0.1:2375, and the second line adds a pass-through on the firewall for the port 2375 (*) . You need to know that this makes yourself vulnerable to remote code execution attacks.

  4. Then, start the Portainer container using an user-mode PowerShell (you do not need administrator rights to do this) typing:
    docker run -d -p 9000:9000 -v portainer_data:/data portainer/portainer -H tcp://10.0.75.1:2375

     

  5. Go to your browser and type http://localhost:9000 and configure your admin user and password if needed.

 

Note (*): Ports 2375 (unencrypted) and 2376 (encrypted with TLS) are the standard ports. You will obviously want to use TLS in a production environment, but the Windows Docker package does not include the tools to do this. Standard Windows certificates can't be used. Instead you will need to follow the documentation to create OpenSSL certificates.

That's all you need to run Portainer on Windows to manage Docker. If you need to know more about Portainer, just read its documentation.

Extra options

I wrote a new post with extra options for Portainer.

Native Windows container

To run portainer container in a native Windows container, the syntax is:

docker run -d -p 9000:9000 --name portainer --restart always -v \\.\pipe\docker_engine:\\.\pipe\docker_engine -v C:\ProgramData\Portainer:C:\data portainer/portainer

For more info, check this link.

 

 

 

 

번호 제목 sitelink1 글쓴이 날짜 조회 수
20 [bard] docker로 실행한 container에 터미널로 접속   황제낙엽 2024.02.01 0
19 [2023. 11. 6.] 데이터베이스, GUI 클라이언트 환경의 Docker Compose 모음 https://blog.pages.kr/2819  황제낙엽 2024.01.29 6
18 Docker Compose 문법 정리   황제낙엽 2024.01.29 4
17 Docker Compose 명령어(실행,중지,삭제) https://docs.docker.com/compose/reference/  황제낙엽 2024.01.28 0
16 Docker Compose 에 대한 이해와 사용법에 대한 포스팅 모음 https://docs.docker.com/compose/gettingstarted/  황제낙엽 2024.01.26 1
15 Kubernetes 와 Docker 의 관계   황제낙엽 2024.01.26 0
14 docker 를 windows 에서 실행하는 방법 3가지 정리   황제낙엽 2024.01.23 3
13 windows + docker 설치에 대한 포스팅 모음   황제낙엽 2024.01.22 2
12 도커(Docker)란 무엇이고, 왜 사용하나요? https://blog.naver.com/wishket/222372539613  황제낙엽 2021.07.03 14
11 [Raspberry pi 3] docker-compose.yml 파일을 활용해 docker container 관리 효율성 높이기 file https://cafe.naver.com/stsmarthome/16737  황제낙엽 2020.08.26 54
10 [Docker] docker private registry on raspberry pi (https private registry, letsencrypt standalone auth) secret https://bloodguy.tistory.com/entry/Docke...spberry-pi  황제낙엽 2020.07.17 0
9 [Docker] private registry 설치/운용, OpenSSL, S3 저장소 이용, Authentification 추가 secret https://novemberde.github.io/2017/04/09/...try_0.html  황제낙엽 2020.07.17 0
8 [Docker] 도커 레지스트리: 프라이빗 도커 이미지 저장소(설치부터 S3 연동까지) secret https://www.44bits.io/ko/post/running-do...s3-storage  황제낙엽 2020.07.17 0
7 [Docker] docker private registry(도커 사설 레지스트리)에 대하여 https://www.44bits.io/ko/post/running-do...s3-storage  황제낙엽 2020.07.17 19
» [Docker] Portainer for local Docker environments on Windows 10 file https://lemariva.com/blog/2018/05/tutori...windows-10  황제낙엽 2020.07.14 25686
5 Virtualbox : VT-x is not available 오류 조치 방법 file http://blog.naver.com/PostView.nhn?blogI...1315290857  황제낙엽 2020.07.14 13
4 Ubuntu+Docker+Node.js (Hello World) file   황제낙엽 2020.07.12 90
3 [Docker기초] 명령어 리스트 https://blog.naver.com/pjt3591oo/221350092204  황제낙엽 2020.07.11 200
2 cURL, Docker, Portainer 설치 file https://docs.docker.com  황제낙엽 2020.07.11 16
1 [Docker] Docker, Portainer 입문용 블로그 링크 http://blog.naver.com/kidninja  황제낙엽 2020.07.07 17