dryben / daily

무슨 생각을 해... 그냥 하는거지
0 stars 0 forks source link

우분투 - 계정 설정, 도커 설치 #1

Open dryben opened 5 years ago

dryben commented 5 years ago

계정 설정

https://freestrokes.tistory.com/64

  1. useradd ben (계정 생성)
  2. passwd ben (계정 패스워드 입력)
  3. mkdir -p /home/slowalk
  4. chown -R ben:ben /home/slowalk/
  5. usermod -G slowalk ben groups ben
  6. usermod -s /bin/bash ben cat /etc/passwd | grep ben

설치

https://subicura.com/2017/01/19/docker-guide-for-beginners-2.html

  1. apt update
  2. curl -fsSL https://get.docker.com/ | sudo sh
  3. usermod -aG docker ben groups ben
  4. docker version
    
    Client:
    Version:           18.09.3
    API version:       1.39
    Go version:        go1.10.8
    Git commit:        774a1f4
    Built:             Thu Feb 28 06:40:58 2019
    OS/Arch:           linux/amd64
    Experimental:      false

Server: Docker Engine - Community Engine: Version: 18.09.3 API version: 1.39 (minimum version 1.12) Go version: go1.10.8 Git commit: 774a1f4 Built: Thu Feb 28 05:59:55 2019 OS/Arch: linux/amd64 Experimental: false