Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,19 @@ Job 监控以及资源管理。Flink TaskManager 运行 worker 进程,

我们所使用的配置文件位于
[flink-playgrounds](https://github.com/apache/flink-playgrounds) 仓库中,
检出该仓库并启动 docker 环境
检出该仓库并构建 Docker 镜像

```bash
git clone --branch release-{{ site.version_title }} https://github.com/apache/flink-playgrounds.git
cd flink-playgrounds/operations-playground
docker-compose build
```

在Docker宿主机器的固定路径创建checkpoint和savepoint目录,然后启动 Docker 环境:

```bash
mkdir -p /tmp/flink-checkpoints-directory
mkdir -p /tmp/flink-savepoints-directory
docker-compose up -d
```

Expand Down
9 changes: 7 additions & 2 deletions docs/content/docs/try-flink/flink-operations-playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,18 @@ We assume that you have [Docker](https://docs.docker.com/) (1.12+) and
[docker-compose](https://docs.docker.com/compose/) (2.1+) installed on your machine.

The required configuration files are available in the
[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. Check it out and spin
up the environment:
[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. Check it out and build the Docker image:

```bash
git clone --branch release-{{ site.version_title }} https://github.com/apache/flink-playgrounds.git
cd flink-playgrounds/operations-playground
docker-compose build
```

Create the checkpoint and savepoint directories on the Docker host machine. spin up the environment:
```bash
mkdir -p /tmp/flink-checkpoints-directory
mkdir -p /tmp/flink-savepoints-directory
docker-compose up -d
```

Expand Down