singularity pull library://lolcow
์์ ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ์ ๋ ์๋์ ๊ฐ์ด ์๋ฌ๊ฐ ๋ฐ์ํ๋ค. error fetching image๋ก ์์ํ๋ ๋ถ๋ถ์ด๋ค. cached file hash and expected hash does not match๋ผ๊ณ ์๋ฌ๊ฐ ๋ฐ์ํ๊ณ ์๋ค.
INFO: Downloading library image
639.0b / ??? [===================================================] 927.9 KiB/s
FATAL: While pulling library image: error fetching image: cached file hash(sha256.74c12dc5a0e309a82b73ac30eeedfb9f9af2c43c3dd9560476db63a9df61eac9) and expected hash(sha256.2175ac94c763b1b3e0982cff4d0c9f73e8586d9e226c5311faa43629578f57b8) does not match
ํน์
singularity --debug run library://sylabsed/examples/lolcow
์ด ๋ช ๋ น์ด๋ฅผ ์คํํด๋ ์๋์ ๊ฐ์ด ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
DEBUG [U=1000,P=17589] persistentPreRun() Singularity version: 3.8.1
DEBUG [U=1000,P=17589] persistentPreRun() Parsing configuration file /usr/local/etc/singularity/singularity.conf
DEBUG [U=1000,P=17589] handleConfDir() /home/sky/.singularity already exists. Not creating.
DEBUG [U=1000,P=17589] getCacheParentDir() environment variable SINGULARITY_CACHEDIR not set, using default image cache
DEBUG [U=1000,P=17589] apiGet() apiGet calling v1/images/sylabsed/examples/lolcow:latest?arch=amd64
INFO [U=1000,P=17589] pull() Downloading library image
DEBUG [U=1000,P=17589] DownloadImage() Pulling from URL: v1/imagefile/sylabsed/examples/lolcow:latest
DEBUG [U=1000,P=17589] DownloadImage() OK response received, beginning body download
639.0b / ??? [===================================================] 692.0 KiB/s
DEBUG [U=1000,P=17589] DownloadImage() Download complete
FATAL [U=1000,P=17589] replaceURIWithImage() Unable to handle library://sylabsed/examples/lolcow uri: cached file hash(sha256.74c12dc5a0e309a82b73ac30eeedfb9f9af2c43c3dd9560476db63a9df61eac9) and expected hash(sha256.e37e11f101a9db82a08bf63f816219da0d4da0e19f5323761d92731213c9e751) does not match
์ด ๊ฒฝ์ฐ์๋ Unable to handle library๋ก ์์ํ์ฌ cached file hash and expected hash does not match ๋ผ๋ ์๋ฌ๋ฅผ ๋ณด์ฌ์ฃผ๊ณ ์๋ค.
์ธ๋ป ๋ณด์๋ ๊ฐ์ ์ข ๋ฅ์ ์๋ฌ๋ก ๋ณด์ธ๋ค. ๋งจ ์์ ์คํ๋ช ๋ น์ ์๋์ ๊ฐ์ด ์ ๋ ฅํ์ฌ cache ๋ถ๋ถ์ ์ถฉ๋์ ํผํด์ฃผ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋๋ค. ๋ฌธ์ ๋ฐ์์์ธ์ด cache์ ๊ด๋ จ์ด ์์ง๋ง, ํญ์ ์ด๋ฐ ์๋ฌ๊ฐ ๋ฐ์ํ๋์ง๋ ๋ชจ๋ฅด๊ฒ ๋ค. ๋ด ๊ฒฝ์ฐ์ ๊ทธ๋ฌ๋ค.
singularity pull --disable-cache library://lolcow
ํต์ฌ์ --disable-cache์ด๋ค. ์ด ๋ช ๋ น์ด๋ฅผ ํตํด ์๋ฌ๋ฅผ ์ด์ง ํผํด๊ฐ ์ ์์๋ค.
๋๊ธ