| Summary: | [atomic storage] importing containers can't be started | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Jia <ajia> |
| Component: | atomic | Assignee: | smahajan <smahajan> |
| Status: | CLOSED NOTABUG | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.3 | CC: | dwalsh |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-11 15:23:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Alex Jia
2016-10-09 09:52:44 UTC
Hi Alex, Initially after the import, the entry point to the container would be "/run/gotar -xf -". However the user gets a message "Please restart docker daemon for the changes to take effect". N Once the user restart the docker daemon, things are back to how it was originally. What I am wondering is why you didn't get that message? I tried this on a F24 VM with atomic rpm package. N This works fine for me. sh-4.3# atomic -y storage import --dir /tmp/atomic_storage_export_1 --graph /var/lib/docker Importing image: e02e811dd08f Importing container: 3c3793af0306 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning. Importing volumes atomic import completed successfully Deleting /tmp/atomic_storage_export_1 **************************************************************************** Please restart docker daemon for the changes to take effect **************************************************************************** sh-4.3# systemctl restart docker sh-4.3# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3c3793af0306 busybox "/bin/sh" 4 minutes ago Exited (137) 2 seconds ago storage_test Shishir (In reply to smahajan from comment #2) > Hi Alex, > > Initially after the import, the entry point to the container would be > "/run/gotar -xf -". However the user gets a message "Please restart docker > daemon for the changes to take effect". N Once the user restart the docker Shishir, thanks for your details, I forgot to restart docker daemon, everything is okay now. |