We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c5782b + f7ed2c2 commit 27ad20bCopy full SHA for 27ad20b
2 files changed
root/usr/local/lib/systemd/system/containerd.service.d/allowed-images.conf
@@ -4,7 +4,7 @@
4
EnvironmentFile=-/etc/sysconfig/allowed-images.env
5
ExecStartPre=/bin/sh -c '\
6
set -x ; \
7
- if $ALLOWED_IMAGES ; then \
+ if [ -f /usr/local/openresty/nginx/conf/allowed-images.conf ] ; then \
8
echo HTTPS_PROXY=http://127.0.0.1:3128 > /etc/sysconfig/allowed-images.env ; \
9
else \
10
rm -f /etc/sysconfig/allowed-images.env ; \
root/usr/local/lib/systemd/system/docker.service.d/allowed-images.conf
0 commit comments