Restore deleted container that was removed with Stack?

I accidentally deleted a stack with an active container running in it and now the container is gone also.

I was wondering if there was anyway at a all to restore the container that was removed, as it was a game server and it was hosting all my friends world files?

root@docker ~# docker info
Containers: 4
 Running: 3
 Paused: 0
 Stopped: 1
Images: 13
Server Version: 18.09.1
Storage Driver: vfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 1.0.0~rc6+dfsg1-3
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 seccomp
  Profile: default
Kernel Version: 5.4.140-1-pve
Operating System: Debian GNU/Linux 10 (buster)
OSType: linux
Architecture: x86_64

Since the swarm mode is inactive, I assume with “stack” you mean a docker compose project.
There is no way to restore removed containers, regardless whether it’s created by using a docker compose project or by creating it with docker run. Though, volumes or binds are not deleted by default when a compose project/container is removed.

If you used volumes to store persistent data, then restoring your container should be as easy as redeploying your compose project.