I have a Dockerfile with the following lines: FROM python COPY sysargs.py / CMD python sysargs.py --date Ref::date And my python file sysargs.py looks like this: import sys print('The command line arguments are:') a = sys.argv[1] print(a) I just want to pass parameter date and print the date but after passing date value I am getting output as "Ref::date". Can someone help me what I have done wrong? I am trying to replicate as mentioned in how to retrieve aws batch parameter value in python?. Continue reading...