<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: Проблема с CT]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме Проблема с CT форума Proxmox Виртуальная Среда на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sat, 25 Apr 2026 16:51:20 +0300</pubDate>
		<item>
			<title>Проблема с CT</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message316689/76601-problema-s-ct">Проблема с CT</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет всем!<br /><br />У меня проблема с монтированием тома в Docker Compose. Хочу использовать именованные монтирования для организации нескольких сервисов, работающих с одними и теми же данными.<br /><br />Проблема в том, что получаю ошибку `Permission denied` при попытке смонтировать том. Вот мой `docker-compose.yml`:<br /><br />```yaml<br />version: "3.9"<br />services:<br /> &nbsp;app:<br /> &nbsp; &nbsp;image: my-app<br /> &nbsp; &nbsp;volumes:<br /> &nbsp; &nbsp; &nbsp;- type: volume<br /> &nbsp; &nbsp; &nbsp; &nbsp;source: my_volume<br /> &nbsp; &nbsp; &nbsp; &nbsp;target: /app/data<br /> &nbsp; &nbsp; &nbsp; &nbsp;name: app_data<br /> &nbsp;db:<br /> &nbsp; &nbsp;image: postgres:15<br /> &nbsp; &nbsp;volumes:<br /> &nbsp; &nbsp; &nbsp;- type: volume<br /> &nbsp; &nbsp; &nbsp; &nbsp;source: my_volume<br /> &nbsp; &nbsp; &nbsp; &nbsp;target: /var/lib/postgresql/data<br /> &nbsp; &nbsp; &nbsp; &nbsp;name: db_data<br />volumes:<br /> &nbsp;my_volume:<br /> &nbsp; &nbsp;driver: local<br />```<br /><br />Я пробовал разные варианты, в том числе менял владельца (chown) и группу файлов на томе, но ничего не помогает. &nbsp;Пробовал `mount --bind /host/path /container/path` — тоже безрезультатно. &nbsp;Похоже, проблема в том, как Docker взаимодействует с именованными томами и правами доступа. &nbsp;Кто-нибудь сталкивался с чем-то подобным? &nbsp;Как правильно настроить права доступа для именованных томов в Docker Compose? Очень нужна помощь! &nbsp;#docker #docker-compose #volumes #permissions #linux #mount <br />
			<i>05.06.2025 17:45:00, Pascalm.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message316689/76601-problema-s-ct</link>
			<guid>http://proxmox.su/forum/messages/forum63/message316689/76601-problema-s-ct</guid>
			<pubDate>Thu, 05 Jun 2025 17:45:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблема с CT</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message316688/76601-problema-s-ct">Проблема с CT</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Всем привет. У меня несколько CT из шаблонов "под ключ". Один с Apache, другой с Nextcloud. В обоих случаях одна и та же ошибка:<br /><br />Apache: root@formacion ~# /etc/init.d/apache2 status<br />* apache2.service - The Apache HTTP Server<br /> &nbsp; Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)<br /> &nbsp; Active: failed (Result: exit-code) since Wed 2025-04-09 12:10:35 CDT; 1 day 1h ago<br /> &nbsp; Docs: <noindex><a href="https://httpd.apache.org/docs/2.4/" target="_blank" rel="nofollow" >https://httpd.apache.org/docs/2.4/</a></noindex><br /> &nbsp;Process: 183 ExecStart=/usr/sbin/apachectl start (code=exited, status=226/NAMESPACE)<br /> &nbsp; CPU: 2ms<br /> &nbsp;Apr 09 12:10:35 formacion systemd[1]: Starting The Apache HTTP Server...<br /> &nbsp;Apr 09 12:10:35 formacion systemd[183]: apache2.service: Failed to set up mount namespacing: Permission denied<br /> &nbsp;Apr 09 12:10:35 formacion systemd[183]: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apachectl: Permission denied<br /> &nbsp;Apr 09 12:10:35 formacion systemd[1]: apache2.service: Control process exited, code=exited, status=226/NAMESPACE<br /> &nbsp;Apr 09 12:10:35 formacion systemd[1]: apache2.service: Failed with result 'exit-code'.<br /> &nbsp;Apr 09 12:10:35 formacion systemd[1]: Failed to start The Apache HTTP Server.<br /><br />Nextcloud: root@prueba ~# /etc/init.d/mysql status<br />x mariadb.service - MariaDB 10.11.6 database server<br /> &nbsp; Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)<br /> &nbsp; Active: failed (Result: exit-code) since Thu 2025-04-10 17:29:38 UTC; 7min ago<br /> &nbsp; Docs: man:mariadbd(8) <noindex><a href="https://mariadb.com/kb/en/library/systemd/" target="_blank" rel="nofollow" >https://mariadb.com/kb/en/library/systemd/</a></noindex><br /> &nbsp;Process: 192 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=226/NAMESPACE)<br /> &nbsp; CPU: 2ms<br /> &nbsp;Apr 10 17:29:38 prueba systemd[1]: Starting mariadb.service - MariaDB 10.11.6 database server...<br /> &nbsp;Apr 10 17:29:38 prueba (install)[192]: mariadb.service: Failed to set up mount namespacing: Permission denied<br /> &nbsp;Apr 10 17:29:38 prueba (install)[192]: mariadb.service: Failed at step NAMESPACE spawning /usr/bin/install: Permission denied<br /> &nbsp;Apr 10 17:29:38 prueba systemd[1]: mariadb.service: Control process exited, code=exited, status=226/NAMESPACE<br /> &nbsp;Apr 10 17:29:38 prueba systemd[1]: mariadb.service: Failed with result 'exit-code'.<br /> &nbsp;Apr 10 17:29:38 prueba systemd[1]: Failed to start mariadb.service - MariaDB 10.11.6 database server <br />
			<i>10.04.2025 19:38:00, Armando Ramos Roche.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message316688/76601-problema-s-ct</link>
			<guid>http://proxmox.su/forum/messages/forum63/message316688/76601-problema-s-ct</guid>
			<pubDate>Thu, 10 Apr 2025 19:38:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
	</channel>
</rss>
