# Add flags to docker run

**URL:** <https://forums.mobyproject.org/t/add-flags-to-docker-run/268>\
**Category:** Uncategorized\
**Created:** [February 18, 2018, 11:00pm UTC](https://forums.mobyproject.org/t/add-flags-to-docker-run/268 "2018-02-18T23:00:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nobikik9](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@nobikik9](https://forums.mobyproject.org/u/nobikik9)\
**Post date:** [February 18, 2018, 11:00pm UTC](https://forums.mobyproject.org/t/add-flags-to-docker-run/268/1 "2018-02-18T23:00:19Z")

</div>

Hello!

I was just playing around with docker. Could you please give me a hint how to add a flag to `docker run`? As far as I understood, previously this functionality was in folder cli (and functions like NewRun etc), but currently situation is much more complicated (I think that I should seek in folder api/server/, but I cannot find anything related).

Thank you!

---

<div class="post-metadata">

**Author:** ![thaJeztah](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.mobyproject.org/thajeztah/32/2_2.png) [@thaJeztah](https://forums.mobyproject.org/u/thaJeztah)\
**Post date:** [February 19, 2018, 1:02am UTC](https://forums.mobyproject.org/t/add-flags-to-docker-run/268/2 "2018-02-19T01:02:27Z")

</div>

The moby/moby repository contains the daemon, API server and API client. The docker CLI is located in the [https://github.com/docker/cli](https://github.com/docker/cli) repository
