After fresh install I get docker error code 125 creating instances

OS Name/Version: Fedora 39, 6.6.4-200.fc39.x86_64

Product Name/Version: AMP Release “Decadeus” v2.4.7, built 09/01/2024 03:40

Problem Description:
After a completely new install on my Fedora box I am unable to create new instances due to docker issues (error code 125). Here are some things I have tried:
(via AMP web interface): Create new instance (Rust)
[03:37:54] [ADS:admin Warning] : Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.
so then as root I
$ dnf install docker
and tried again but…

[03:41:41] [InstanceManager:admin Warning] : Non-managed instances exist, autoconfigure cannot guarentee that the configuration is valid!
[03:41:42] [InstanceManager:admin Info] : time="2024-01-22T22:41:42-05:00" level=warning msg="The cgroupv2 manager is set to systemd but there is no systemd user session available"
[03:41:42] [InstanceManager:admin Info] : time="2024-01-22T22:41:42-05:00" level=warning msg="For using systemd, you may need to log in using a user session"
[03:41:42] [InstanceManager:admin Info] : time="2024-01-22T22:41:42-05:00" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 1000` (possibly as root)"
[03:41:42] [InstanceManager:admin Info] : time="2024-01-22T22:41:42-05:00" level=warning msg="Falling back to --cgroup-manager=cgroupfs"
[03:41:42] [InstanceManager:admin Info] : Error: short-name resolution enforced but cannot prompt without a TTY
[03:41:42] [InstanceManager:admin Info] : time="2024-01-22T22:41:42-05:00" level=warning msg="Failed to add pause process to systemd sandbox cgroup: dbus: couldn't determine address of session bus"
[03:41:42] [InstanceManager:admin Warning] : Failed to configure new instance Rust101 - Startup failure: Docker returned error code 125
[03:41:42] [InstanceManager:admin Error] : Configuration Failed: Startup failure: Docker returned error code 125
[03:41:42] [ADS:admin Warning]    : Create Instance Failed: Startup failure: Docker returned error code 125

so next as root I
$ dnf remove docker $ snap remove docker command snap not found $ bash <(wget -qO- getamp.sh) installDocker
and tried to create the instance via the web interface again but got
22:45:05 Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.
so finally I did

$ dnf remove podman
$ bash <(wget -qO- getamp.sh) installDocker

and tried to create the instance via the web interface again…

Full log output from my various attempts

22:35:48
AMP is up to date.
:Anonymous22:36:19
Access denied: You do not have permission to use this method (GSMyAdmin.WebServer.Logout) at this time. This method requires the Session.Exists permission. (Origin: 192.168.1.111)
:admin22:37:54
Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.
22:41:41
Non-managed instances exist, autoconfigure cannot guarentee that the configuration is valid!
22:41:42
time="2024-01-22T22:41:42-05:00" level=warning msg="The cgroupv2 manager is set to systemd but there is no systemd user session available"
time="2024-01-22T22:41:42-05:00" level=warning msg="For using systemd, you may need to log in using a user session"
time="2024-01-22T22:41:42-05:00" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 1000` (possibly as root)"
time="2024-01-22T22:41:42-05:00" level=warning msg="Falling back to --cgroup-manager=cgroupfs"
Error: short-name resolution enforced but cannot prompt without a TTY
time="2024-01-22T22:41:42-05:00" level=warning msg="Failed to add pause process to systemd sandbox cgroup: dbus: couldn't determine address of session bus"
Failed to configure new instance Rust101 - Startup failure: Docker returned error code 125
Configuration Failed: Startup failure: Docker returned error code 125
Create Instance Failed: Startup failure: Docker returned error code 125
22:45:05
Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.
22:48:57
Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.
22:51:00
Non-managed instances exist, autoconfigure cannot guarentee that the configuration is valid!
22:51:01
Error: short-name resolution enforced but cannot prompt without a TTY
Failed to configure new instance Rust101 - Startup failure: Docker returned error code 125
Configuration Failed: Startup failure: Docker returned error code 125
Create Instance Failed: Startup failure: Docker returned error code 125
23:08:28
Create Instance Failed: This instance either requires or has been configured to use Docker, but Docker was not found on the system.

so I tried

 docker --version
bash: docker: command not found...
Packages providing this file are:
'moby-engine'
'podman-docker'

and then

 bash <(wget -qO- getamp.sh) installDocker
Please wait while GetAMP examines your system and network configuration...
 - Checking installed packages...
 - Checking environment...
 - Checking network configuration...
 - Detecting network type...
grep: warning: stray \ before /
Installing Docker...
Done

and then

 docker --version
bash: docker: command not found...
Packages providing this file are:
'moby-engine'
'podman-docker'

so finally I put podman back and opened this ticket. I appreciate the time it took to read through all of this and any assistance you can provide.

What was the output of the installDocker command? And have you restarted AMP since running it?

UPDATE:
I got it working. It was failing to add the docker repo for some reason and thus couldn’t install docker. I got past it by manually running

sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
bash <(wget -qO- getamp.sh) installDocker
su -l amp
ampinstmgr restart

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