Skip to content

Importing from different directory than where import file in causes server name to include all folder names #25

@dolan-a

Description

@dolan-a

If I import in the following manner: machine-import home/myfiles/machine1.zip, in .docker/machine/machines, the folders home/myfiles/machine1 are created.

I initially thought the problem was as described in #6 since this was a server with no docker machines yet, but I used the mkdir command mentioned there, and still got an error about config.json not existing. But in my case, it was saying it didn't exist in ".docker/machine/machines/home".

The workaround was to just cd to the directory (e.g. home/myfiles) before running machine-import.

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