# I am very new to appimage. would like to know the pros and cons of it against docker images?

**URL:** <https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336>\
**Category:** Developers\
**Created:** [April 24, 2018, 6:04pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336 "2018-04-24T18:04:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![voollasandeepkumar](https://avatars.discourse-cdn.com/v4/letter/v/ee59a6/32.png) [@voollasandeepkumar](https://discourse.appimage.org/u/voollasandeepkumar)\
**Post date:** [April 24, 2018, 6:04pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/1 "2018-04-24T18:04:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [May 4, 2018, 10:32pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/2 "2018-05-04T22:32:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![lpo](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@lpo](https://discourse.appimage.org/u/lpo)\
**Post date:** [May 30, 2018, 11:06pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/3 "2018-05-30T23:06:33Z")

</div>

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.

Thanks

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [May 31, 2018, 5:12pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/4 "2018-05-31T17:12:14Z")

</div>

> [@lpo](#):
>
> 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?

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?

Yes.

---

<div class="post-metadata">

**Author:** ![Malsasa](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/malsasa/32/289_2.png) [@Malsasa](https://discourse.appimage.org/u/Malsasa)\
**Post date:** [October 7, 2020, 6:50am UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/5 "2020-10-07T06:50:58Z")

</div>

> Docker containers contain a whole operating system (everything besides the kernel), such as all libraries including glibc.

Thanks, I went here just to see probono’s explanation on Docker and as I expected your explanation is very clear.

---

<div class="post-metadata">

**Author:** ![hubertnnn](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/hubertnnn/32/735_2.png) [@hubertnnn](https://discourse.appimage.org/u/hubertnnn)\
**Post date:** [July 28, 2022, 1:02pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/6 "2022-07-28T13:02:00Z")

</div>

I don’t have much experience with AppImage yet, but I can tell that looking at how it internally works and comparing it to Docker, AppImage is much more secure.

Docker to work requires root access and it is messing with many core OS components including firewall, filesystem/mounts and user accounts. Docker also have a ton of well known (some not fixed for more than 5 years) security issues, eg. by messing with the firewall it often undoes firewall settings done by the sysadmin causing the machine to be accessible from networks it should not be.

AppImage on the other hand does only one thing: mounts a folder under /tmp.  
After that it works just like any other Linux application, it does not need root, it does not mess with core OS components, nor firewalls. It makes it much safer to use than Docker.

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [September 23, 2022, 5:07pm UTC](https://discourse.appimage.org/t/i-am-very-new-to-appimage-would-like-to-know-the-pros-and-cons-of-it-against-docker-images/336/7 "2022-09-23T17:07:27Z")

</div>

Docker is for server-side command line processes where AppImage is for graphical applications that are double-clicked by end users on the desktop.

AppImage is similar to an `.app` in a `.dmg` on the Mac, or an `.exe` of a “portable application” on Windows.
