Stable Diffusion "" error on Jetson AGX Orin

I’m install Stable diffusion on new installed Jetson AGX orin based on below link.

But get error after ./ $(./autotag stable-diffusion-webui)
It seems something wrong about “/tmp/.docker.xauth” but docker status also failed.

Please advice me how to solve this issue.

xxx@ubuntu:~/Desktop/jetson-containers$ ./ $(./autotag stable-diffusion-webui)
Namespace(packages=[‘stable-diffusion-webui’], prefer=[‘local’, ‘registry’, ‘build’], disable=[‘’], user=‘dustynv’, output=‘/tmp/autotag’, quiet=False, verbose=False)
– Finding compatible container image for [‘stable-diffusion-webui’]
[sudo] password for xxx:
Traceback (most recent call last):
File “/usr/lib/python3.10/”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/”, line 86, in _run_code
exec(code, run_globals)
File “/home/taroi/Desktop/jetson-containers/jetson_containers/”, line 58, in
image = find_container(args.packages[0], prefer_sources=args.prefer, disable_sources=args.disable, user=args.user, quiet=args.quiet)
File “/home/taroi/Desktop/jetson-containers/jetson_containers/”, line 512, in find_container
local_images = find_local_containers(package, **kwargs)
File “/home/taroi/Desktop/jetson-containers/jetson_containers/”, line 424, in find_local_containers
local_images = get_local_containers()
File “/home/taroi/Desktop/jetson-containers/jetson_containers/”, line 352, in get_local_containers
status =, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
File “/usr/lib/python3.10/”, line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘sudo’, ‘docker’, ‘images’, ‘–format’, "’{{json . }}‘"]’ returned non-zero exit status 1.
– Error: return code 1
localuser:root being added to access control list
xauth: file /tmp/.docker.xauth does not exist

  • sudo docker run --runtime nvidia -it --rm --network host --volume /tmp/argus_socket:/tmp/argus_socket --volume /etc/enctune.conf:/etc/enctune.conf --volume /etc/nv_tegra_release:/etc/nv_tegra_release --volume /tmp/nv_jetson_model:/tmp/nv_jetson_model --volume /var/run/dbus:/var/run/dbus --volume /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/taroi/Desktop/jetson-containers/data:/data --device /dev/snd --device /dev/bus/usb -e DISPLAY=:1 -v /tmp/.X11-unix/:/tmp/.X11-unix -v /tmp/.docker.xauth:/tmp/.docker.xauth -e XAUTHORITY=/tmp/.docker.xauth
    “docker run” requires at least 1 argument.
    See ‘docker run --help’.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]

Create and run a new container from an image


xxx@ubuntu:~/Desktop/jetson-containers$ sudo systemctl status docker
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-03-07 18:55:39 JST; 18min ago
TriggeredBy: × docker.socket
Process: 2440 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 2440 (code=exited, status=1/FAILURE)
CPU: 203ms

Mar 07 18:55:39 ubuntu systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 07 18:55:39 ubuntu systemd[1]: Stopped Docker Application Container Engine.
Mar 07 18:55:39 ubuntu systemd[1]: docker.service: Start request repeated too quickly.
Mar 07 18:55:39 ubuntu systemd[1]: docker.service: Failed with result ‘exit-code’.
Mar 07 18:55:39 ubuntu systemd[1]: Failed to start Docker Application Container Engine.




Based on the log, it fetches the image for JetPack 6.
Do you also setup your device with JetPack 6?


Hi, it seems that something is wrong with your docker daemon unrelated to jetson-containers and Are you able to manually run other docker things, like docker info, docker images, and run the l4t-jetpack base container?

Hi AastaLLL
Yes, I setup with JetPack6 from NVIDIA installer through Ubuntu20 and installed 6.2 on Jetson initial after setup.

Hi dusty_nv,

I will do your link first and report it later.

Hi Guys,

It seems miss mach some docker version between jetpack 6.0 and 6.2.
I re-insatll from OS level and same command on default Jetpack6.0 again.

Now it working without error.


1 Like

Maybe cause of issue is update Jetpack after clean install the Jetpack6.0.
I install from OS and tried it again.
And now it’s looks fine.


Thanks, glad you got it working - seems like reflashing the device got your Docker daemon working again 👍

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.