I am trying to replace the variable value before the sh command
url="google.com"
docker run --rm -it \
--volume="/home/administrator/tmp:/home/simha:rw" \
someimage /bin/sh -c 'ping "${url}"'
FInally I want to do
sh -c 'ping google.com'
So how to substiture the url value in the above.