The TCA airgap server provides an optional clear function to the run.sh script that allows users to clear the Docker cache. The clear function performs the following tasks:
This KB provides the steps to revert the changes made by running the run.sh clear command.
Note: The pruning of the images is not reversable. All missing images will need to be pulled anew.
#system mnt-pt type options dump fsck PARTUUID=479cd5f8-6133-496c-80c5-27f4dc88d7bd / ext4 defaults,barrier,noatime,noacl,data=ordered 1 1 PARTUUID=7c6c3d42-3fac-48b0-a6a6-c38bca957873 /boot/efi vfat defaults 1 2 /dev/cdrom /mnt/cdrom iso9660 ro,noauto 0 0 # BEGIN ANSIBLE MANAGED BLOCK /dev/sdb1 /data ext4 defaults 0 0 /dev/sdc1 /photon-reps ext4 defaults 0 0 /dev/sdd1 /docker ext4 defaults 0 0 #add docker auto mount # END ANSIBLE MANAGED BLOCK