• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing Docker daemon through remote CLI
#2
Yes there is an alternative method to take control of the Docker Daemon. As you know we are using portainer.io as web front end for the user to take control of Docker on netPI. portainer.io offers a RESTful api to take control of Docker commands from remote. What is not allowed on netPI cause of security reason to login through a SSH connection.

These commands are described here: https://gist.github.com/deviantony/77026...8d41bc42f8. Those commands are valid for portainer.io in the version >= 1.18.0. Since we are curently using portainer.io in the version 1.12.x on netPI the interface is slightly different.

For test purposes I made an Example using Node-RED to deploy a container on netPI from remote. I posted it here: https://forum.hilscher.com/Thread-Managi...ESTful-API
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by adeeljsid - July-9th-2018, 01:08 PM
Accessing Docker daemon through remote CLI - by Armin@netPI - July-9th-2018, 05:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,758 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 3,273 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Docker not enabled tad 10 5,103 July-14th-2021, 08:54 AM
Last Post: Armin@netPI
  Accessing netPI web UI with REST API Armin@netPI 14 8,350 June-30th-2021, 05:06 AM
Last Post: Armin@netPI
  Docker amd64 instead of arm biancode 3 3,163 January-17th-2021, 09:40 PM
Last Post: Armin@netPI
  docker.service start failed EUROKEY 13 9,627 January-17th-2021, 07:52 PM
Last Post: Armin@netPI
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,306 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  Docker cannot find image COswald 16 9,419 May-18th-2020, 07:15 AM
Last Post: COswald
  After „Rebuild“ of Docker neither the node-RED nor the dashboard can be accessed MAK 4 4,457 January-31st-2020, 02:14 PM
Last Post: MAK
  Web browser reports "insecure connection" when accessing netPI for the first time Armin@netPI 2 2,908 January-31st-2020, 07:07 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)