Export and import image from running docker image - Not work #13751

Closed
opened 2025-11-02 10:52:09 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @BasilioPV on GitHub (Nov 24, 2024).

Description

I want to backup the entire runnig image of my gitea repository. After export the running image and import them into a new gitea docker, the configuration initial page is shown. It's not possible to recreate the configured image on gitea?

Gitea Version

1.22.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker image. managed with portainer.

Database

SQLite

Originally created by @BasilioPV on GitHub (Nov 24, 2024). ### Description I want to backup the entire runnig image of my gitea repository. After export the running image and import them into a new gitea docker, the configuration initial page is shown. It's not possible to recreate the configured image on gitea? ### Gitea Version 1.22.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Docker image. managed with portainer. ### Database SQLite
GiteaMirror added the issue/needs-feedback label 2025-11-02 10:52:09 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Nov 24, 2024):

Docker isn't designed to work that way.

For all docker containers (not only Gitea), you should copy the data volumes, but not the running image.

Check your docker volume setting and volume mapping, copy the data to your new server.

@wxiaoguang commented on GitHub (Nov 24, 2024): Docker isn't designed to work that way. For all docker containers (not only Gitea), you should copy the data volumes, but not the running image. Check your docker volume setting and volume mapping, copy the data to your new server.
Author
Owner

@BasilioPV commented on GitHub (Nov 24, 2024):

Ok, Thanks!

@BasilioPV commented on GitHub (Nov 24, 2024): Ok, Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13751