Skip to content

bcbcarl/docker-rladies-taipei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Docker 初探 @ R-Ladies Taipei

2018 年 4 月 30 日

帶領聽眾認識映像檔容器虛擬化容器化之間的差異,現場展示 Docker 及其應用。

Meetup 活動頁面

講者簡介

負責系統開發、系統調校、自動化和持續整合流程。

長期投入 open source 領域,擅長 JavaScript 和 Functional Programming。

具有豐富的 web 開發、自動化測試和容器管理經驗。

Docker v.s. Moby Project

Docker Overview

Basic Terminology

Docker CLI

# Check Docker installation
docker --version
docker run hello-world

# List Docker images
docker image ls
docker images

# List running containers
docker container ls
docker ps

# List all containers
docker container ls --all
docker ps -a

Hello Ubuntu

docker pull ubuntu
docker run -it ubuntu bash
docker container ls

Fake A Hollywood Hacker Screen

# Run hollywood
docker run --rm -it bcbcarl/hollywood

Shiny

Shiny App Template

library(shiny)
ui <- fluidPage()
server <- function(input, output) {}
shinyApp(ui = ui, server = server)

Shiny on Docker

# Run Shiny server
docker run --rm -p 3838:3838 quantumobject/docker-shiny

# Attach to the server
docker ps
docker exec -it <container_id> /bin/bash

Hello R-Ladies Taipei

# Run Docker with your own app
docker run --rm -p 3838:3838 -v "$PWD":/srv/shiny-server quantumobject/docker-shiny

R support for Visual Studio Code

install.packages("languageserver")
install.packages("lintr")

Releases

No releases published

Packages

No packages published

Languages