<ol>
<li>You can run that image on Windows/macOS/Linux and so on as long as docker is installed. See: <a href="https://opensource.com/resources/what-docker" rel="nofollow noreferrer">List of all environments</a>.</li>
<li>"Development for a solution" is a bit confusing though. It is more like encapsulation on container level (OOP encapsulation). Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies.</li>
</ol>

CC BY-SA 4.0
2018-10-18T07:25:07.477Z
i mean running as an environment platform for code development
Esther
CC BY-SA 4.0
2018-10-18T09:49:24.190Z
Without any GUI you can build a platform for coding without knowing what kind of development you are onto. For instance for python you can do that without docker with known isolation methods.Building development environment with docker for testing purpose sounds fine but for usual production sounds new.If you could be more specific regarding your purpose and what environment you are willing to do I think it would be more helpful
hakkican
CC BY-SA 4.0
2018-08-25T10:21:15.613Z
2018-11-06T12:09:49.263Z
2018-11-06T12:09:49.263Z
hakkican
<ol>
<li>Sure. You can run a Linux-based Docker image on any Linux host.</li>
<li>Yes, it is possible. You can run &amp; develop in a debian-based docker container.</li>
</ol>

CC BY-SA 4.0
2018-08-23T10:34:05.350Z
2018-08-23T10:34:05.350Z
Yekta Leblebici
<p>Yes you can run Docker on any Linux distro. These steps listed below are for Ubuntu Desktop 18 LTS. You can find the full official docs and steps for other Linux distributions here:</p>

<p>Ubuntu: <a href="https://docs.docker.com/install/linux/docker-ce/ubuntu/" rel="nofollow noreferrer">https://docs.docker.com/install/linux/docker-ce/ubuntu/</a></p>

<p>Fedora: <a href="https://docs.docker.com/install/linux/docker-ce/fedora/" rel="nofollow noreferrer">https://docs.docker.com/install/linux/docker-ce/fedora/</a></p>

<p>CentOS: <a href="https://docs.docker.com/install/linux/docker-ce/centos/" rel="nofollow noreferrer">https://docs.docker.com/install/linux/docker-ce/centos/</a></p>

<p>Debian: <a href="https://docs.docker.com/install/linux/docker-ce/debian/" rel="nofollow noreferrer">https://docs.docker.com/install/linux/docker-ce/debian/</a></p>

<p><strong>Installing Docker</strong></p>

<p>The Docker docs suggest setting up a Docker repository to install and update from.</p>

<p>This is where you should start:</p>

<p><a href="https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository" rel="nofollow noreferrer">https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository</a></p>

<p>After completing the installation steps, test out Docker:</p>

<p><code>sudo docker run hello-world</code></p>

<p>This should download and run the test container printing "hello world" to your console.</p>

<p><strong>Installing Docker Compose</strong></p>

<p>Unlike the Mac and Windows Docker Desktop versions, we must manually install Docker Compose. See the instructions for the installation steps (Click on the tab for Linux)</p>

<p><a href="https://docs.docker.com/compose/install/#install-compose" rel="nofollow noreferrer">https://docs.docker.com/compose/install/#install-compose</a></p>

<p>After completing, test your installation:</p>

<p><code>docker-compose -v</code></p>

<p>This should print the version and build numbers to your console.</p>

<p><strong>Run without Sudo</strong></p>

<p>Follow these instructions to run Docker commands without sudo:</p>

<p><a href="https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user" rel="nofollow noreferrer">https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user</a></p>

<p>The docker group will likely already be created, but you still need to add your user to this group.</p>

<p><strong>Start on Boot</strong></p>

<p>Follow these instructions so that Docker and its services start automatically on boot:</p>

<p><a href="https://docs.docker.com/install/linux/linux-postinstall/#configure-docker-to-start-on-boot" rel="nofollow noreferrer">https://docs.docker.com/install/linux/linux-postinstall/#configure-docker-to-start-on-boot</a></p>

<p>You may need to restart your system</p>

CC BY-SA 4.0
2020-05-14T04:13:15.220Z
2020-05-14T04:13:15.220Z
Daniel
<p>I have some questions regarding docker.</p>

<p>In docker image template, there is template that define for Ubuntu.</p>

<p>1) May I know is it possible to build and run this Ubuntu docker image on Redhat server? </p>

<p>2) Is it possible to use this docker image as environment for development for solution that use debian dependencies packages?</p>

<p>I not sure whether such question can be asked in this forum. if no, please enlighten me to the correct forum to raise such question.</p>

<docker>
Regarding Use On Docker
Esther
# Regarding Use On Docker

(Asked by: username_0 on 2018-08-23)

I have some questions regarding docker.

In docker image template, there is template that define for Ubuntu.

1) May I know is it possible to build and run this Ubuntu docker image on Redhat server?

2) Is it possible to use this docker image as environment for development for solution that use debian dependencies packages?

I not sure whether such question can be asked in this forum. if no, please enlighten me to the correct forum to raise such question.

**Tags:** docker


---

## 3 answers

### Answer by username_1 on 2018-08-25. Score: 0 | Accepted answer

1. You can run that image on Windows/macOS/Linux and so on as long as docker is installed. See: [List of all environments](https://opensource.com/resources/what-docker).
2. "Development for a solution" is a bit confusing though. It is more like encapsulation on container level (OOP encapsulation). Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies.

> **Comments:**
> **username_0**: i mean running as an environment platform for code development  
> **username_1**: Without any GUI you can build a platform for coding without knowing what kind of development you are onto. For instance for python you can do that without docker with known isolation methods.Building development environment with docker for testing purpose sounds fine but for usual production sounds new.If you could be more specific regarding your purpose and what environment you are willing to do I think it would be more helpful  

---

### Answer by username_2 on 2018-08-23. Score: 2

1. Sure. You can run a Linux-based Docker image on any Linux host.
2. Yes, it is possible. You can run & develop in a debian-based docker container.


---

### Answer by username_3 on 2020-05-14. Score: 0

Yes you can run Docker on any Linux distro. These steps listed below are for Ubuntu Desktop 18 LTS. You can find the full official docs and steps for other Linux distributions here:

Ubuntu: <https://docs.docker.com/install/linux/docker-ce/ubuntu/>

Fedora: <https://docs.docker.com/install/linux/docker-ce/fedora/>

CentOS: <https://docs.docker.com/install/linux/docker-ce/centos/>

Debian: <https://docs.docker.com/install/linux/docker-ce/debian/>

**Installing Docker**

The Docker docs suggest setting up a Docker repository to install and update from.

This is where you should start:

<https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository>

After completing the installation steps, test out Docker:

`sudo docker run hello-world`

This should download and run the test container printing "hello world" to your console.

**Installing Docker Compose**

Unlike the Mac and Windows Docker Desktop versions, we must manually install Docker Compose. See the instructions for the installation steps (Click on the tab for Linux)

<https://docs.docker.com/compose/install/#install-compose>

After completing, test your installation:

`docker-compose -v`

This should print the version and build numbers to your console.

**Run without Sudo**

Follow these instructions to run Docker commands without sudo:

<https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user>

The docker group will likely already be created, but you still need to add your user to this group.

**Start on Boot**

Follow these instructions so that Docker and its services start automatically on boot:

<https://docs.docker.com/install/linux/linux-postinstall/#configure-docker-to-start-on-boot>

You may need to restart your system


---

