我正在尝试在运行Go二进制文件的Docker容器中进行HTTPS调用。这给了我下面的错误: x509: failed to load system roots and no roots provided 说完看了这件事,看来问题是码头工人的BusyBox图像没有根CA证书。从StackOverflow上的其他答案看来,最好的方法是将CA根装入到/etc/ssl/certs容器目录中。 要在本地进行
值在busybox的shell脚本test.sh(不bash)的,如果我通过4个paramters进去,我怎么能得到直接他们每个人的价值。例如 #!/bin/sh
args=("[email protected]")
param3=${args[2]} #I want to get the value of the parameter 3, it works in bash