HowTo: Reset a Docker environment
Edit on GitHubSometimes, after experimenting or getting unexpected behavior from the docker/sdk up
command, it may be helpful to reset the entire Docker environment and start from scratch.
Data removal
To remove all the Docker data, use the following instructions.
To reset a Docker environment, follow these steps:
- Delete all containers, networks, unused images, and build cache:
sudo docker/sdk prune
- In the project root directory, clean data, bootstrap the deploy file and start the instance:
docker/sdk clean-data && docker/sdk boot {deploy_file_name} && docker/sdk up
You’ve restarted your instance from scratch.
Thank you!
For submitting the form