Specifying an Initial Root Password for Logging into a cSRX Container in a Linux Docker Environment
If you intend to log into the cSRX container using SSH, specify an initial root password when launching the cSRX. When a cSRX container is launched, remote access using SSH will be enforced with username and password.
Note:
After the cSRX container is started, change the password and, if desired, the authentication method for the root-level user.
To specify an initial root password for logging into the cSRX container:
root@csrx-ubuntu3:~/csrx# docker run
-d --privileged --network=mgt_bridge -e CSRX_ROOT_PASSWORD=<password> --name=<csrx-container-name> <csrx-image-name>