21 lines
409 B
Markdown
21 lines
409 B
Markdown
# containers-from-scratch
|
|
|
|
This repository contains my re-implementation of
|
|
[Containers From Scratch • Liz Rice • GOTO 2018](https://www.youtube.com/watch?v=8fi7uSYlOdc).
|
|
|
|
## Setup
|
|
|
|
One time setup:
|
|
|
|
```shell
|
|
docker run --rm -it ubuntu bash
|
|
|
|
# Copy contents of the container:
|
|
docker cp 9405abfa4a78:/ container-root
|
|
```
|
|
|
|
Then, just run the Go program as *root*:
|
|
|
|
```shell
|
|
sudo go run main.go run bash
|
|
```
|