• Usage: Sets environment variables in the container.

  • Command:

    docker run -e ENV_VAR=value nginx
    
    
    • This command sets an environment variable ENV_VAR with the value value in the container.