user6982: I would like to check the sync progress of the cardano node from within a cardano-node-ogmios docker container that I installed. When I open the docker CLI and I run the command cardano-cli query tip --mainnet I get that $CARDANO_NODE_SOCKET_PATH environment variable is not defined. I've tried locating /db/node.socket path, but I cannot seem to find it. Any clue as to where it may be located?

user6982: After checking the Ogmios documentation again I finally found it in /ipc/node.socket. (Post can be deleted or remain in case for future reference)

user6632: A note for other people, when starting your node the --socket-path option will contain the path to the socket.
CARDANO_NODE_SOCKET_PATH should match this value.
cardano-node run \
   --topology path/to/mainnet-topology.json \
   --database-path path/to/db \
   --socket-path path/to/db/node.socket \
   --host-addr x.x.x.x \
   --port 3001 \
   --config path/to/mainnet-config.json


6982: <p>I would like to check the sync progress of the cardano node from within a cardano-node-ogmios docker container that I installed. When I open the docker CLI and I run the command <code>cardano-cli query tip --mainnet</code> I get that $CARDANO_NODE_SOCKET_PATH environment variable is not defined. I've tried locating /db/node.socket path, but I cannot seem to find it. Any clue as to where it may be located?</p>
 6982: <p>After checking the Ogmios documentation again I finally found it in /ipc/node.socket. (Post can be deleted or remain in case for future reference)</p>
 6632: <p>A note for other people, when starting your node the <code>--socket-path</code> option will contain the path to the socket.</p>
<p>CARDANO_NODE_SOCKET_PATH should match this value.</p>
<pre><code>cardano-node run \
   --topology path/to/mainnet-topology.json \
   --database-path path/to/db \
   --socket-path path/to/db/node.socket \
   --host-addr x.x.x.x \
   --port 3001 \
   --config path/to/mainnet-config.json
</code></pre>
