# Confused about wandb launch usage with docker

**URL:** <https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [March 24, 2023, 1:34pm UTC](https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119 "2023-03-24T13:34:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saishreddyk](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@saishreddyk](https://community.wandb.ai/u/saishreddyk)\
**Post date:** [March 24, 2023, 1:34pm UTC](https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119/1 "2023-03-24T13:34:34Z")

</div>

Sorry if this is covered by docs couldn’t understand something about wandb jobs (wandb launch);

Basically, does the Dockerfile itself must have an `Entrypoint` attr, which runs a program? Or is it enough to have a docker image which has WANDB\_DOCKER, wandb\_api\_key env variable set, having a python directory codebase which can start wandb runs?? (can’t create a job this way though…), if possible without logging the code.

---

<div class="post-metadata">

**Author:** ![saishreddyk](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@saishreddyk](https://community.wandb.ai/u/saishreddyk)\
**Post date:** [March 24, 2023, 9:12pm UTC](https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119/2 "2023-03-24T21:12:02Z")

</div>

Cleared:  
Yeah, the Dockerfile should be complete end to end such that just running the docker file should run the program, it must have `Entrypoint` attr in the Dockerfile, which actually can be changed from the overrides when we pass it to queue.

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [April 1, 2023, 3:56am UTC](https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119/3 "2023-04-01T03:56:51Z")

</div>

Hi @saishreddyk, great to see you’re using Launch and you found the answer! Just for reference, I’m sharing two links to our docs [here](https://docs.wandb.ai/ref/cli/wandb-launch) and [here](https://docs.wandb.ai/guides/launch) in case they’re useful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [May 31, 2023, 3:57am UTC](https://community.wandb.ai/t/confused-about-wandb-launch-usage-with-docker/4119/4 "2023-05-31T03:57:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
