# deploy from docker image vs local docker file

**URL:** <https://community.fly.io/t/deploy-from-docker-image-vs-local-docker-file/24349>\
**Category:** General\
**Tags:** registry, builders, login-only\
**Created:** [March 24, 2025, 2:28pm UTC](https://community.fly.io/t/deploy-from-docker-image-vs-local-docker-file/24349 "2025-03-24T14:28:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xuehong](https://avatars.discourse-cdn.com/v4/letter/x/9f8e36/32.png) [@Xuehong](https://community.fly.io/u/Xuehong)\
**Post date:** [March 24, 2025, 2:28pm UTC](https://community.fly.io/t/deploy-from-docker-image-vs-local-docker-file/24349/1 "2025-03-24T14:28:22Z")

</div>

From security stand point of view, does it make a difference if one deploys the app from a local Dockerfile or from a private docker image from docker hub? Thanks.

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [March 24, 2025, 2:54pm UTC](https://community.fly.io/t/deploy-from-docker-image-vs-local-docker-file/24349/3 "2025-03-24T14:54:32Z")

</div>

Fly.io doesn’t support private images, unfortunately, except for their own `registry.fly.io`.

[https://community.fly.io/t/feature-request-images-from-private-docker-registries/842/2](https://community.fly.io/t/feature-request-images-from-private-docker-registries/842/2)

The `skopeo` utility from the [previous thread](https://community.fly.io/t/how-to-delete-old-releases/24312) can copy from one to other, though. (I’ve used a variant of that several times myself, with Guix-built images.)

This is lighterweight alternative to using an entire Docker setup just to do the initial pull—which some other users were (understandably) [dissatisfied with…](https://community.fly.io/t/feature-request-images-from-private-docker-registries/842/11)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [March 31, 2025, 2:54pm UTC](https://community.fly.io/t/deploy-from-docker-image-vs-local-docker-file/24349/4 "2025-03-31T14:54:47Z")

</div>

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