Skip to content

Restore not recreating bind mounts #29

@markkuit

Description

@markkuit

While restoring a tar backup, both the old and new mounts are shown; however, it looks like only volume types are being recreated, whereas bind ones are not.

Created Container with ID: 2873a8f942d11c8d69451cb43f41348187d913e95af2599b91bea841e0d99267
Old Mount (type bind) /var/run/docker.sock -> /var/run/docker.sock                                                                                                                                                                        
Old Mount (type volume) /var/lib/docker/volumes/portainer_data/_data -> /data        
New Mount (type volume) /var/lib/docker/volumes/77b23378ac81d9322a63be53922432aa694d993930a9a69280f45a97f892e9eb/_data -> /data

Is this intended behavior? I can't seem to find any reference/flags on this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions