Table of Contents

우분투 16버전에서 vscode가 설치 안되는 문제

vscode 2017.04 버전을 설치한다.

이미지 생성

Dockerfile

snippet.shell
FROM alpine
RUN apk add --update redis
CMD ["redis-server"]

command

snippet.shell
sudo docker build -t hsbae/redis-server:1.0 .

이미지 목록

snippet.shell
docker images

컨테이너 실행

snippet.shell
docker run hsbae/redis-server
snippet.shell
docker exec -it <container id> redis-cli
snippet.shell
docker run -it ubuntu:16.04

Docker file 생성

FROM ubuntu:16.04

RUN apt-get update
RUN apt-get install redis-server -y

CMD ["redis-server"]