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 글쓴이 날짜 조회 수
195 WSL 설치후 VirtualBox가 구동이 안됨 file   황제낙엽 2020.08.04 75
194 Windows Terminal http://Microsoft Store  황제낙엽 2020.08.03 10
193 Windows 10에 Linux용 Windows 하위 시스템 설치(WSL) https://docs.microsoft.com/ko-kr/windows/wsl/install-win10  황제낙엽 2020.07.31 268
192 tar, gz file   황제낙엽 2020.07.19 14
191 dig - 네임 서버(DNS) 진단을 위한 룩업 유틸리티 https://www.codns.com/b/B05-110  황제낙엽 2020.07.19 62
190 [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
189 [Docker] private registry 설치/운용, OpenSSL, S3 저장소 이용, Authentification 추가 secret https://novemberde.github.io/2017/04/09/...try_0.html  황제낙엽 2020.07.17 0
188 [Docker] 도커 레지스트리: 프라이빗 도커 이미지 저장소(설치부터 S3 연동까지) secret https://www.44bits.io/ko/post/running-do...s3-storage  황제낙엽 2020.07.17 0
187 [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
185 netsh 명령으로 프로그램을 방화벽 규칙에 등록하기 file   황제낙엽 2020.07.14 41
184 Virtualbox : VT-x is not available 오류 조치 방법 file http://blog.naver.com/PostView.nhn?blogI...1315290857  황제낙엽 2020.07.14 13
183 Windows에서 포트 포워딩(Port Forwarding) 설정하기 - Netsh https://www.tuwlab.com/ece/29011  황제낙엽 2020.07.14 11
182 리눅스 OS 버전 확인 (ubuntu, debian)   황제낙엽 2020.07.13 57
181 Ubuntu+Docker+Node.js (Hello World) file   황제낙엽 2020.07.12 90
180 rm (파일과 디렉터리를 삭제한다) https://terms.naver.com/entry.nhn?docId=...ryId=59321  황제낙엽 2020.07.12 26
179 우분투(Ubuntu)에서 root로 전환후 비밀번호 변경 file   황제낙엽 2020.07.12 17255
178 [Docker기초] 명령어 리스트 https://blog.naver.com/pjt3591oo/221350092204  황제낙엽 2020.07.11 200
177 cURL, Docker, Portainer 설치 file https://docs.docker.com  황제낙엽 2020.07.11 16
176 cURL file https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_curl  황제낙엽 2020.07.11 15