# New feature: Scheduled machines

**URL:** <https://community.fly.io/t/new-feature-scheduled-machines/7398>\
**Category:** General\
**Tags:** announcement\
**Created:** [September 23, 2022, 11:03pm UTC](https://community.fly.io/t/new-feature-scheduled-machines/7398 "2022-09-23T23:03:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ignoramous](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@ignoramous](https://community.fly.io/u/ignoramous)\
**Post date:** [September 25, 2022, 3:03pm UTC](https://community.fly.io/t/new-feature-scheduled-machines/7398/3 "2022-09-25T15:03:01Z")

</div>

> [@shugel](#):
>
> What am I doing wrong? I should add that I’m using an image built using a local Dockerfile.

If I understand the problem right: You’d need to push that img to Fly registry because Fly can’t deploy from private docker repositories.

Multiple ways to do so: [Fly deploy permission denied connecting to Docker daemon - #2 by ignoramous](https://community.fly.io/t/fly-deploy-permission-denied-connecting-to-docker-daemon/7402/2)

```auto
# (typing these from memory...)
# for machines, I use:
flyctl deploy --local-only --dockerfile <path/to/file> --config <path/to/machines.toml>

# or, build the img and push it to Fly without deploying
flyctl deploy --local-only --build-only --push --dockerfile <path/to/file> -a <app-name>

# create a machine with the img
flyctl m run <registry.fly.io/app-name:img-tag> --schedule=daily --region <r> --name <uniq-name>

```

---

_[View the full topic](https://community.fly.io/t/new-feature-scheduled-machines/7398)._
