When running the command
sudo docker run -d --name ethereum -p 8545:8545 -p 30303:30303 ethereum/client-go --rpc --rpcaddr "0.0.0.0" --rpcapi="db,eth,net,web3,personal" --rpccorsdomain "*" --dev
the container closes almost immediately. Removing all the "rpc" to leave
sudo docker run -d --name ethereum -p 8545:8545 -p 30303:30303 ethereum/client-go
the container runs in the background as expected. Why is this so and how can I keep the container running long enough to exec on it?