본문 바로가기
반응형

Docker7

[Docker] linux docker 특정 버전 install (18.06) linux 특정 버전으로 설치를 하고 싶을 경우 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" $ sudo apt-get update $ sudo apt-cache policy docker-ce 18.06.2~ce~3-0~ubuntu 500 500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages 18.06.1~ce~3-0~ubuntu 50.. 2022. 1. 12.
docker file copy from container to host 12docker cp :/file/path/within/container /host/path/target Colored by Color Scriptercs 2017. 4. 3.
Nginx on Docker Run Nginx on Docker 1. Create Dockerfile1234FROM nginxCOPY html /usr/share/nginx/html # html directory of contentADD nginx.conf /etc/nginx/nginx.conf # nignx config fileCMD ["nginx", "-g", "daemon off;"]cs 2.Create nginx.conf1234567891011121314user nobody nogroup;worker_processes auto; # auto-detect number of logical CPU cores events { worker_connections 512; # set the max number of simultaneous.. 2017. 3. 30.
socket.io load balancing with HAProxy on Docker Load Balancing with HAProxy on Docker Setup HAProxy + Socket.io + Node HAProxy Config haproxy.cfg 1234567891011121314151617181920212223242526272829303132333435363738394041global maxconn 4096 defaults mode http balance roundrobin option redispatch option forwardfor timeout connect 5s timeout queue 5s timeout client 50s timeout server 50s listen stats bind *:1936 mode http stats enable stats uri /.. 2017. 3. 28.
반응형