viniciusbds / navio

Navio is a program to create and manage linux containers. This project exists only for study purposes, so feel free to contribute :)
MIT License
15 stars 4 forks source link

Bug on container creation #29

Closed viniciusbds closed 4 years ago

viniciusbds commented 4 years ago

What happened

When we interrupt the create command (with a CTRL + C) while the Navio is downloading a new image, we enter a state of inconsistency. Only a part of the image is downloaded and the system breaks when execute a new container that use the inconsistent image.

example (How to reproduce it)

Screenshot from 2020-07-01 16-28-36

What you expected to happen:

The command should remove the inconsistent image and download it again

viniciusbds commented 4 years ago

Fixed on https://github.com/viniciusbds/navio/commit/c772d794f2e463755f0633d9ef8c6555ef819be2