Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Dockerfile과 Bash
Next
Download to read offline and view in fullscreen.

6

Share

Download to read offline

docker-based remote desktop

Download to read offline

repository : https://github.com/rzdesk/rzdesk
docker 로 손쉽게 만든 vdi 소개 자료입니다. ^^

Related Books

Free with a 30 day trial from Scribd

See all

docker-based remote desktop

  1. 1. Naver Labs 1
  2. 2. Remote Virtual Desktop docker-based Naver Labs 2
  3. 3. Presenter • 자바 플랫폼 개발자 • Naver Labs • 이형규 • https://github.com/naver/lucy-xss-filter - 홍보용 Naver Labs 3
  4. 4. Contents • Overview • Explain Dockerfile • Explain Script • Demo • Goal Naver Labs 4
  5. 5. Overview Naver Labs 5
  6. 6. Overview • xvnc, xrdp 활용 • 클라이언트 접속툴 • volume 관리 Naver Labs 6
  7. 7. Dockerfile RUN apt-get install -y language-pack-ko-base RUN apt-get install -y vnc4server RUN apt-get install -y xrdp RUN apt-get install -y xfce4 RUN apt-get install -y xubuntu-icon-theme RUN apt-get install -y ttf-baekmuk RUN apt-get install -y firefox RUN apt-get install -y -q supervisor ADD bin/rzdesk_adduser.sh /usr/bin/rzdesk_adduser ADD bin/rzdesk_passwd.sh /usr/bin/rzdesk_passwd ADD bin/rzdesk_start.sh /usr/bin/rzdesk_start ADD conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf Naver Labs 7
  8. 8. Script • build.sh #!/bin/sh if [ ! -e "etc" ] ; then mkdir etc fi rm -f etc/* if [ ! -e "doc" ] ; then mkdir doc fi docker build -t rzrdp . Naver Labs 8
  9. 9. Script • addUser.sh #!/bin/sh if [ $# -ne 1 ]; then echo "usage : $0 userid " exit 1 fi #echo $* if [ ! -e $PWD/doc ]; then mkdir doc fi if [ ! -e $PWD/etc ]; then mkdir etc fi docker run --rm -i -t -v $PWD/doc:/home/$1/ -v $PWD/etc/:/etc_bak/ rzrdp:latest /usr/bin/rzdesk_adduser $1 Naver Labs 9
  10. 10. Script • run.sh #!/bin/sh if [ ! $# -ge 1 ]; then echo "usage : $0 userid" exit 1 fi if [ ! -e $PWD/doc -o ! -e $PWD/etc ] ; then echo "no doc folder" exit 1 fi docker run -d -p 13389:3389 -v $PWD/doc:/home/$1/ -v $PWD/etc/:/etc_bak rzrdp:latest /usr/bin/rzdesk_start Naver Labs 10
  11. 11. Demo $ ./build.sh $ ./adduser.sh USERID $ ./run.sh USERID Naver Labs 11
  12. 12. Naver Labs 12
  13. 13. Goal • 계정 관리 ? • 이미지 관리 ? • OS 별 클라이언트 접속툴 ? • 산출물 관리 ? Naver Labs 13
  14. 14. Goal Naver Labs 14
  15. 15. Field • 컴퓨터 교육 실습장 • 프로젝트별 개발환경 • 언어별 스터디 환경 • 보안에 민감한 서비스 담당자 중국의 ctrip 여행사에서는 만 여명의 직원에게 오픈스택 기반의 VDI를 제 공해 하루에 20만 통화량을 처리한다고 합니다. Naver Labs 15
  16. 16. The End Naver Labs 16
  • kinjonggun

    Jan. 12, 2018
  • 831jsh

    Jun. 6, 2017
  • ssuser4a734e

    Dec. 11, 2015
  • ssuser15db85

    Oct. 16, 2015
  • hyoungseunglee

    Feb. 27, 2015
  • gopass2002

    Feb. 14, 2015

repository : https://github.com/rzdesk/rzdesk docker 로 손쉽게 만든 vdi 소개 자료입니다. ^^

Views

Total views

1,885

On Slideshare

0

From embeds

0

Number of embeds

19

Actions

Downloads

36

Shares

0

Comments

0

Likes

6

×