If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Docker with root rights on shared webhosting

Started by Term, Oct 16, 2022, 11:45 AM

Previous topic - Next topic

Ali_Pro

Quote from: Kurz on Oct 17, 2022, 07:14 AMI would like something like hetzner, but only in Russia.

https://cp.inferno.name/cart.php?gid=47 accepts both foreign and Russian cards.

Quote from: Kurz on Oct 17, 2022, 07:14 AMCan you give me a hint where I can find a VPS.
Russia is basically not a good choice for the purpose of ignoring complaints. Depends on the complaints, of course. But in general - rather no than yes.
Ali.
  •  


richardBranson

I am always curious about a person's coding and debugging process in situations like these. In my experience, it's an iterative process. In this particular case, the backend with a profile was created without being bound to a specific IDE, allowing for connection to a designated database even before its deployment.

Although I am not a containers expert, dealing with them previously through Cloud Foundry has resulted in some inconveniences. Issues such as switching between various IDEs, local application deployment, making changes, debugging, and CORS can arise if not carefully considered beforehand.

However, your situation seems rather straightforward: inserting code here, launching there, and everything works fine.

I would be interested in reading an article detailing how a developer organizes their workflow for this type of small-scale application. Perhaps you have a set of scripts for local development that you have yet to share.

Efficient workflow management is critical for successful development. An organized approach enables developers to work more effectively and efficiently, reducing the likelihood of mistakes or missed opportunities. Additionally, using tools and techniques that integrate seamlessly into the development environment can streamline the overall process.
  •  

AnnyJones01

Running Docker with root rights on shared web hosting is generally not supported or allowed by most web hosting providers. Shared web hosting is designed to provide a secure and isolated environment for multiple users to host their websites and applications. Giving root access or running Docker containers with root privileges can pose security risks and potentially disrupt the hosting environment for other users on the same server.

In a shared hosting environment, the hosting provider typically manages the server infrastructure and ensures the security and stability of the system. They often impose restrictions on what users can do to maintain the overall stability and security of the shared environment.

If you require root access or the ability to run Docker containers with root privileges, you may need to consider other hosting options, such as a virtual private server (VPS) or a dedicated server. These hosting solutions provide more control over the server environment, allowing you to have root access and install Docker as needed. However, keep in mind that you will also be responsible for managing the server's security and maintenance in these cases.

Before proceeding with any hosting solution, it's important to review the terms of service and acceptable use policy of the hosting provider to ensure that your intended use is allowed and supported. Additionally, always prioritize security considerations and take necessary precautions to protect your applications and data.
  •  

microsoftcygnet

Deploying Docker containers with root privileges on traditional shared web hosting platforms is generally not supported due to security reasons. Shared hosting environments are designed to provide a multi-tenant setup where multiple users share the same server resources. Granting root access within this environment could compromise the security and stability of the hosting platform.

In shared hosting, providers typically offer a more limited set of permissions and restrictions for users to ensure the security and stability of the server. This means that you may not have the necessary privileges to run Docker containers with root access.

To have full control over Docker containers and root privileges, it is more common to use a VPS (Virtual Private Server) or a dedicated hosting environment. These options provide greater flexibility and control over the server configuration, allowing you to deploy and manage Docker containers with root access.

If you specifically require the ability to run Docker containers with root privileges in a shared hosting environment, it would be best to contact hosting providers directly and inquire if they offer any specialized hosting plans or services that accommodate such requirements. However, be aware that this might be a niche offering and may come with additional costs or limitations.

To find hosting providers that support Docker containers with root privileges on shared hosting, it is recommended to conduct a thorough search online, read customer reviews, and visit hosting provider forums or communities. Additionally, you can directly reach out to hosting companies and inquire about their hosting plans and whether they provide options for deploying Docker containers with root access on shared hosting platforms.

Keep in mind that even if a hosting provider supports running Docker containers with root privileges, it is important to consider the security implications and potential impact on the stability of the hosting environment. Running containers with root access can increase the risk of security breaches and impact the performance of other websites hosted on the same server.

Consider discussing your requirements with hosting providers and evaluating other hosting options like VPS or dedicated servers, which are generally more suitable for running Docker containers with root access due to their increased flexibility and control over the server environment.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...