Amazon AWS Container Marketplace does not allow default passwords. You must provide a password during container initialization or one will be randomly generated.
To set the first time initialization password for the 'admin' user, pass the environment variable
ARTIFACTORY-PASSWORD with the desired password.
If no initialization password is provided, one will be generated and printed to a file in the container.
To get the randomly generated password, you can print the contents of the file.
This password is only valid for the initial setup and should then be changed via the UI or REST API
In either case, this password should be used only for the initial set up and the password should be changed via the UI or REST API after you are up and running.
Follow the official Docker to Docker upgrade procedure, using a different image name/source.