docker build -t 481078097852.dkr.ecr.us-east-2.amazonaws.com/splunk:9.2.2-beta . docker run -d -p 4000:8000 -p 8088:8088 -p 4997:9997 -e SPLUNK_START_ARGS="--accept-license" -e SPLUNK_PASSWORD="helloworld" --name splunk-container 481078097852.dkr.ecr.us-east-2.amazonaws.com/splunk:9.2.2-beta docker exec -it splunk-container /bin/bash docker tag splunk:9.2.2-beta 481078097852.dkr.ecr.us-east-2.amazonaws.com/splunk:9.2.2-beta opsadmin aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 481078097852.dkr.ecr.us-east-2.amazonaws.com docker push 481078097852.dkr.ecr.us-east-2.amazonaws.com/splunk:9.2.2-beta microdnf install openssh-clients