Please help me understand the pros and cons of appimage against docker. Is appimage a good idea to create execution environment for no desktop applications
Whereas Docker is focusing on containers for servers operated by “devops”, AppImage is focusing on desktop applications operated by end users.
Whereas Docker puts everything (besides the Kernel) into a container and shields it from the host, AppImages use the host OS and do not shield the application from it.
That being said, you could use AppImage for server applications, and you could bundle everything if you wanted. But then you could probably just as well use Docker.
Compare AppImages to .app applications inside .dmg disk images on macOS.
I too am interested in how AppImage compares to Docker. What do you mean by ‘AppImages use the host OS and do not shield the application from it’? How do docker containers shield the container from the host?
Can AppImages run in a docker container? If I wanted to, for whatever reason, could I run an appimage in a docker container running on a vm? Sure it might not make sense… but it helps from an understanding point of view.
Docker containers contain a whole operating system (everything besides the kernel), such as all libraries including glibc.
Most AppImages do not ship basic libraries that are assumed to be “there” on every target system (distribution), such as glibc.
Can AppImages run in a docker container?