<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Docker &#8211; Stefan Meyer</title>
	<atom:link href="https://blog.meyer-luenen.de/category/it/docker/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.meyer-luenen.de</link>
	<description>Lose-Blatt-Sammlung</description>
	<lastBuildDate>Sun, 09 Jul 2023 12:26:12 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://i0.wp.com/blog.meyer-luenen.de/wp-content/uploads/2018/12/cropped-StM-Portrait-Raesfeld-600x600-removebg-2.png?fit=32%2C32&#038;ssl=1</url>
	<title>Docker &#8211; Stefan Meyer</title>
	<link>https://blog.meyer-luenen.de</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">148105417</site>	<item>
		<title>Docker data in ein anderes Verzeichnis verschieben</title>
		<link>https://blog.meyer-luenen.de/2023/04/04/docker-data-in-ein-anderes-verzeichnis-verschieben/</link>
		
		<dc:creator><![CDATA[Stefan]]></dc:creator>
		<pubDate>Tue, 04 Apr 2023 05:03:39 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Linux / Unix]]></category>
		<guid isPermaLink="false">https://blog.meyer-luenen.de/?p=579</guid>

					<description><![CDATA[Quelle: https://mrkandreev.name/snippets/how_to_move_docker_data_to_another_location/ The standard data location used for docker is&#160;/var/lib/docker. Because this directory contains all containers/images/volumes, it can be large. So you no need to store this in OS Volume when you can use separate data volume. 1. Stop daemon 2. Add configuration file with location of new data directory Create/Edit&#160;/etc/docker/daemon.json&#160;file: 3. Copy docker files [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Quelle: https://mrkandreev.name/snippets/how_to_move_docker_data_to_another_location/</p>



<p>The standard data location used for docker is&nbsp;<code>/var/lib/docker</code>. Because this directory contains all containers/images/volumes, it can be large. So you no need to store this in OS Volume when you can use separate data volume.</p>



<h3 class="wp-block-heading">1. Stop daemon</h3>



<pre class="wp-block-code"><code># service docker stop</code></pre>



<h3 class="wp-block-heading">2. Add configuration file with location of new data directory</h3>



<p>Create/Edit&nbsp;<code>/etc/docker/daemon.json</code>&nbsp;file:</p>



<pre class="wp-block-code"><code>{
   "graph": "/path/to/new/docker/location"
}</code></pre>



<h3 class="wp-block-heading">3. Copy docker files to new location</h3>



<pre class="wp-block-code"><code># rsync -aP /var/lib/docker/ /path/to/new/docker/location</code></pre>



<h3 class="wp-block-heading">4. Remove old directory</h3>



<pre class="wp-block-code"><code># rm -rf /var/lib/docker</code></pre>



<h3 class="wp-block-heading">5. Start daemon</h3>



<pre class="wp-block-code"><code># service docker start</code></pre>



<h3 class="wp-block-heading">6. Copy docker files to new location</h3>



<pre class="wp-block-code"><code># docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https:&#47;&#47;hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/</code></pre>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">579</post-id>	</item>
		<item>
		<title>SQL Server in Docker unter MacOs auf M1</title>
		<link>https://blog.meyer-luenen.de/2022/08/11/sql-server-in-docker-unter-macos-auf-m1/</link>
		
		<dc:creator><![CDATA[Stefan]]></dc:creator>
		<pubDate>Thu, 11 Aug 2022 13:49:24 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<guid isPermaLink="false">https://blog.meyer-luenen.de/?p=546</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-wp-embed is-provider-database-guide wp-block-embed-database-guide"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="McRLZiOU1j"><a href="https://database.guide/how-to-install-sql-server-on-an-m1-mac-arm64/">How to Install SQL Server on an M1 Mac (ARM64)</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;How to Install SQL Server on an M1 Mac (ARM64)&#8221; &#8212; Database.Guide" src="https://database.guide/how-to-install-sql-server-on-an-m1-mac-arm64/embed/#?secret=Kl2aLOtDEX#?secret=McRLZiOU1j" data-secret="McRLZiOU1j" width="500" height="282" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">546</post-id>	</item>
		<item>
		<title>Docker-Schmierzettel</title>
		<link>https://blog.meyer-luenen.de/2022/07/23/docker-schmierzettel/</link>
		
		<dc:creator><![CDATA[Stefan]]></dc:creator>
		<pubDate>Sat, 23 Jul 2022 11:09:21 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<guid isPermaLink="false">https://blog.meyer-luenen.de/?p=541</guid>

					<description><![CDATA[bash in Container docker exec -it --user root MSSQL2019 "bash" bspw. MSSQL-Server starten docker run --name "MSSQL2019" -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=GEHEIM" -e "MSSQL_PID=Express" -v d:\mssql\data:/var/opt/mssql/data -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">bash in Container</h2>



<p><code>docker exec -it --user root MSSQL2019 "bash"</code></p>



<h2 class="wp-block-heading">bspw. MSSQL-Server starten</h2>



<p class="has-extra-small-font-size"><code>docker run --name "MSSQL2019" -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=GEHEIM" -e "MSSQL_PID=Express" -v d:\mssql\data:/var/opt/mssql/data -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest</code></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">541</post-id>	</item>
	</channel>
</rss>
