mirror of https://github.com/docker/docs.git
1.3 KiB
1.3 KiB
title | description | ui_tabs | cli_tabs | next_steps | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Manage logs | The reason you would do this is X, Y, and Z. This can be a multiline description but should probably `be brief`. |
|
|
|
{% if include.ui %} To do this foobar task, 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" %}
$ docker stack deploy -c test.yml smokestack
{% elsif include.version=="docker-cli-win" %}
docker stack deploy -c test.yml smokestack
{% elsif include.version=="kubectl" %}
$ kubectl get pod -f ./pod.yaml
{% endif %} {% endif %}