Hi <@U04SE163WC8> i have a T2.Large instance and 2...
# replication-ask-ai
h
Hi @kapa.ai i have a T2.Large instance and 20GB disk. Most of the disk is taken by var/lib/docker. How can I clean up ?
k
Based on the information provided in the extracts, it seems that the disk space is being consumed by Docker, which could be due to the logs and data stored by Airbyte. Here are a few steps you can take to clean up: 1. Clean up airbyte-minio: As mentioned in the [forum post](https://discuss.airbyte.io/t/3101), Minio mainly stores the logs. You can delete the Minio storage to resolve the issue. If you're running on Kubernetes, you can exec into the Minio pod and delete the files and folders inside
/storage/airbyte-dev-logs/job-logging/workspace/
. 2. Clean up Docker resources: You can clean up the Docker resources by running the following command as mentioned in the [tutorial](https://airbyte.com/tutorials/modern-data-stack-docker):
Copy code
./setup.sh down
3. Increase Disk Space: As discussed in the [forum post](https://discuss.airbyte.io/t/3715), increasing the disk space to something like 100GB can help avoid stability issues. Please note that these steps should be performed with caution as they might result in data loss. Always ensure to backup any important data before performing these operations.
h
@kapa.ai How can I see docker images that are used by airbyte vs not used
k
A message from kapa.ai
To see Docker images that are used by Airbyte, you can use the
docker images
command and filter the results for "airbyte". Here's an example command:
Copy code
bash docker images | grep airbyte
This command will list all Docker images that have "airbyte" in their repository name. To see Docker images that are not used by Airbyte, you can use the
docker images
command and exclude the results for "airbyte". Here's an example command:
Copy code
bash docker images | grep -v airbyte
This command will list all Docker images that do not have "airbyte" in their repository name. Please note that these commands assume that all Docker images used by Airbyte have "airbyte" in their repository name. If this is not the case, you may need to adjust the commands accordingly. Also, keep in mind that these commands will only show you the Docker images that are currently stored on your machine. They do not show which images are currently being used by running containers. To see this, you would need to use the
docker ps
command.