This error message suggests that you do not have sufficient permissions to access the Docker daemon socket, which is required for running Docker commands. To fix this issue, try running the command with sudo or as a root user.
The second error message indicates that you need to provide at least one argument when using the “docker save” command. This command is used to save an image into a tar archive file. Make sure you specify the name of the image you want to save and where you want to save it. For example:
docker save my-image > my-image.tar