<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Raymond P. Burkholder - Things I Do - Docker</title>
    <link>https://blog.raymond.burkholder.net/</link>
    <description>In And Around Technology and The Arts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7.2 - http://www.s9y.org/</generator>
    <pubDate>Tue, 28 Apr 2026 02:37:31 GMT</pubDate>

    <image>
        <url>https://blog.raymond.burkholder.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Raymond P. Burkholder - Things I Do - Docker - In And Around Technology and The Arts</title>
        <link>https://blog.raymond.burkholder.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Frigate Running in Docker inside LXC on Proxmox</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/1355-Frigate-Running-in-Docker-inside-LXC-on-Proxmox.html</link>
            <category>Docker</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/1355-Frigate-Running-in-Docker-inside-LXC-on-Proxmox.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=1355</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1355</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;Once all the GPU and Docker prerequisites are in place, installing frigate-nve is easy: a) build a yaml file, b) docker compose the file.

&lt;p&gt;In the LXC container, create a frigate directory and move into it:

&lt;blockquote&gt;&lt;pre&gt;
mkdir frigate
cd frigate
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;In that directory, here is the content of my docker-compose-yaml file:

&lt;blockquote&gt;&lt;pre&gt;
services:
  frigate:
    container_name: frigate
    #privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    stop_grace_period: 30s # allow enough time to shut down the various services
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: &quot;1512mb&quot; # updated for my camera list based upon error messages in the log
#    devices:
#      - /dev/dri/renderD128:/dev/dri/renderD128 # AMD / Intel GPU, needs to be updated for your hardware
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              #device_ids: [&#039;0&#039;] # this is only needed when using multiple GPUs
              count: 1 # number of GPUs
              capabilities: [gpu]
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /root/frigate/config:/config
      - /root/frigate/storage:/media/frigate
      - type: tmpfs # 1GB In-memory filesystem for recording segment storage
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - &quot;8971:8971&quot;
      # - &quot;5000:5000&quot; # Internal unauthenticated access. Expose carefully.
      - &quot;8554:8554&quot; # RTSP feeds
      - &quot;8555:8555/tcp&quot; # WebRTC over tcp
      - &quot;8555:8555/udp&quot; # WebRTC over udp
    environment:
      FRIGATE_RTSP_PASSWORD: &quot;xxxxxxx&quot;
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Get it started:

&lt;blockquote&gt;&lt;pre&gt;
# in a foreground process:
docker compose up
# or, as a background process:
docker compose up -d frigate
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;The login should be seen at something like (or your container&#039;s address):

&lt;pre&gt;
https://127.0.0.1:8971/
&lt;/pre&gt;

&lt;p&gt;Official installation documentation:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.frigate.video/frigate/installation/&quot; target=_blank&gt;Frigage NVR Installation&lt;/a&gt;
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Tue, 28 Apr 2026 01:58:50 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/1355-guid.html</guid>
    
</item>
<item>
    <title>Docker Notes</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/1347-Docker-Notes.html</link>
            <category>Docker</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/1347-Docker-Notes.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=1347</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1347</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;Images vs Containers
&lt;ul&gt;
  &lt;li&gt;Docker Image: blueprint with app code and dependencies - static, read-only
  &lt;li&gt;Docker Container: running instance of an image - dynamic, executable
  &lt;/ul&gt;

&lt;p&gt;Each instruction in the Dockerfile adds an extra layer to the Docker image. Minimize the number of layers by consolidating the instructions to increase the build’s performance and time.

&lt;p&gt;Avoid using multiple RUN commands as it creates multiple cacheable layers which will affect the efficiency of the build process.

&lt;p&gt;Use a single process per container: Each container should run a single process. This makes it easier to manage and monitor containers and helps to keep containers lightweight.

&lt;p&gt;Images can exist without containers, whereas a container needs an image to run. We can create multiple containers from the same image, each with its own unique data and state

&lt;p&gt;Docker commands
&lt;ul&gt;
  &lt;li&gt;&lt;b&gt;Docker Run&lt;/b&gt;: It used for launching the containers from images, with specifying the runtime options and commands. 
  &lt;li&gt;&lt;b&gt;Docker Pull&lt;/b&gt;: It fetches the container images from the container registry like Docker Hub to the local machine. 
  &lt;li&gt;&lt;b&gt;Docker ps&lt;/b&gt;: It helps in displaying the running containers along with their important information like container ID, image used and status. 
  &lt;li&gt;&lt;b&gt;Docker Stop&lt;/b&gt;: It helps in halting the running containers gracefully shutting down the processes within them. 
  &lt;li&gt;&lt;b&gt;Docker Start&lt;/b&gt;: It helps in restarting the stopped containers, resuming their operations from the previous state. 
  &lt;li&gt;&lt;b&gt;Docker Login&lt;/b&gt;: It helps to login in to the docker registry enabling the access to private repositories. 
  &lt;/ul&gt;

&lt;p&gt;Docker network commands:
&lt;ul&gt;
  &lt;li&gt;docker network ls
  &lt;li&gt;docker network inspect &lt;id&gt;
  &lt;/ul&gt;

&lt;p&gt;Docker image commands:
&lt;ul&gt;
  &lt;li&gt;docker image ls -a
  &lt;li&gt;docker container ls -a
  &lt;/ul&gt;

&lt;p&gt;Documentation
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.docker.com/reference/dockerfile&quot; target=_blank&gt;Dockerfile reference&lt;/a&gt; - &lt;a href=&quot;https://www.geeksforgeeks.org/devops/what-is-dockerfile-syntax/&quot; target=_blank&gt;examples&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.docker.com/build/concepts/dockerfile/&quot; target=_blank&gt;Dockerfile overview&lt;/a&gt; - with example
  &lt;li&gt;&lt;a href=&quot;https://docs.docker.com/engine/cli/completion/&quot; target=_blank&gt;Command Line Completion&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.docker.com/build/building/base-images/&quot; target=_blank&gt;Base images&lt;/a&gt; - includes building from scratch
  &lt;li&gt;&lt;a href=&quot;https://docs.docker.com/get-started/docker_cheatsheet.pdf&quot; target=_blank&gt;CLI Cheat Sheet&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.geeksforgeeks.org/devops/docker-tutorial/&quot; target=_blank&gt;tutorial&lt;/a&gt;
  &lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Sun, 05 Apr 2026 00:26:37 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/1347-guid.html</guid>
    
</item>

</channel>
</rss>
