1
0
mirror of https://github.com/docker/docs.git synced 2026-11-01 22:34:29 +03:00
Files
docs/compose
Zane Dufour 7e7645082e Add --service-ports note to ports section (#12658)
* Add --service-ports note to ports section

## Description

Add note in `ports` section of file reference docs pointing to the `run` command's `--service-ports` flag

## Motivation

Spent quite a few hours spinning my wheels before I came across `run`'s `--service-ports` flag.

I'm struggling to find the issue where I found this, but the comment pointing to `--service-ports` had a lot of reacts, so this might be a relatively common 

## Things I'd still like to do

- [ ] link to the [`--service-ports` docs](https://github.com/docker/docker.github.io/blob/master/compose/reference/run.md) -- not sure how to do this
- [ ] clean up location of this note -- not sure if I've put the note in a good place -- we can shunt it to the bottom
- [ ] Duplicate for older versions

Thanks

* Minor style update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-04-23 16:17:59 +01:00
..
2021-03-25 15:29:17 +00:00
2021-04-19 10:54:04 +02:00
2021-04-19 10:54:04 +02:00
2021-02-15 12:40:55 -03:00
2021-04-15 15:54:31 +01:00