I want to simply run the long command below.
docker ps -a --format "table {{.Images}}\t{{.Ports}}"
export view='docker ps -a --format "table {{.Images}}\t{{.Ports}}"'
echo $view
result
But When I run the real variable, I get an error
$view
Result end Error code
"docker ps" accepts...