mirror of
https://github.com/docker/docs.git
synced 2026-04-03 09:49:05 +07:00
53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
---
|
|
title: Manage logs
|
|
description: |
|
|
The reason you would do this is X, Y, and Z.
|
|
|
|
This can be a multiline description but should probably `be brief`.
|
|
ui_tabs:
|
|
- version: ucp-3.0
|
|
orhigher: true
|
|
- version: ucp-2.2
|
|
orlower: true
|
|
cli_tabs:
|
|
- version: docker-cli-linux
|
|
- version: docker-cli-win
|
|
- version: kubectl
|
|
next_steps:
|
|
- path: /engine/install
|
|
title: Install Docker
|
|
- path: /get-started/
|
|
title: Get Started with Docker
|
|
---
|
|
{% if include.ui %}
|
|
To do this foobar task, you'll want to flip the switch under **Tasks > Foobar**,
|
|
enter your Lorem Ipsum value for {{ site.tablabels[tab.version] }}, then
|
|
click **Save**.
|
|
|
|
{% if include.version=="ucp-3.0" %}
|
|

|
|
{% elsif include.version=="ucp-2.2" %}
|
|

|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if include.cli %}
|
|
The command line workflow is essentially the same across the various CLIs.
|
|
First you enumerate the services on the node of choice, then you run the
|
|
`foobar` command.
|
|
|
|
{% if include.version=="docker-cli-linux" %}
|
|
```bash
|
|
$ docker stack deploy -c test.yml smokestack
|
|
```
|
|
{% elsif include.version=="docker-cli-win" %}
|
|
```powershell
|
|
PS> docker stack deploy -c test.yml smokestack
|
|
```
|
|
{% elsif include.version=="kubectl" %}
|
|
```bash
|
|
$ kubectl get pod -f ./pod.yaml
|
|
```
|
|
{% endif %}
|
|
{% endif %}
|