docker swarm using --network="host"|
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
hello! I am using docker swarm,
when I was using docker container I did docker run --network="host" and messages from my host machine (virtual bus can messages) where able to appear on my docker container with this command. Right now I am trying to do the same with swarm but I am having trouble and I really have not found an answer in all documentation that I have investigated.
I tried this but the messages are still not appearking, so before if I did ifconfig -a | grep can in my host I got vcan0, vcan1 and vcan2 and in my docekr container i got the same, now this doesnt work and it says as I have no virtual buses set up.
version: '3.7'
services:
bb-app:
image: docker.deere.com/can_bus:network
command: sleep 10000
networks:
- outside
networks:
outside:
name: host
external: true
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Docker Swarm service configuration shown in the issue and compare its network interfaces with a container started using docker run --network="host". Check the Swarm networking behavior for the external host network and virtual CAN interfaces; done means identifying whether this configuration is supported and documenting a verified configuration or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- infrastructure, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100