How can i attach a HBA card (which is on my physical server running on centos 7) to a docker container? As I'm doing POC for migration to docker from existing environment this is much needed. It's similar to direct IO in VMware ESXi(Attaching a physical hba to VM can be done via Direct I/O).
1
There are 1 best solutions below
Related Questions in DOCKER
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- Only the first SQL script gets executed inside Docker Postgres container
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Compiling eBPF program in Docker fails due to missing '__u64' type
- AttributeError: module 'numba' has no attribute 'generated_jit'
- Phoenix in a docker dev environment - generated code can't be saved from VSCode
- Docker on Multipass VMs: Connecting worker nodes to swarm results in rcp error
- Facing error in creating image of my react+vite project . Dockerfile error
- NextJS Docker build fails: fetch failed ECONNREFUSED
- Docker container unable to make HTTPS requests to external API
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
Related Questions in VMWARE
- mkssecreenshotmgr taking a screenshot
- How can you get and update tags for a given VM using vCenter APIs?
- Moving Template or OVA to Datastore using vCenter API
- Azure Site Recover - Powershell Create Recovery Plan from Vmware to Azure
- .ova file to run in a Docker container
- I want to configure a report for specific VM in vrops/aria
- Unable to make itext5 pdf watermark non removable in VMware Workspace ONE Boxer email
- On the VMware. Unable to paste exe from a virtual machine to another virtual machine
- Need to retrieve vmware instance UUId for multiple instances
- Need to recover expired license on vmware API
- Azure Site Recovery - VMware to Azure - a few issues
- How to pass variables of deployed VM (vmware_guest) to roles for further config
- NumPad Not Working in Windows 10 VM on VMware Player with Bluetooth Keyboard
- Get the value from the dict in JSON output stored in a variable
- How to get the value from key `datacenter` from a JSON output which is stored in an variable?
Related Questions in SAN
- Invoke-WebRequest : Cannot validate argument on parameter 'Uri' Brocade switch FOS REST API
- How to initialize a data storage system
- Set permission on Volume in Disk Management using PowerShell
- Can S3 be used for GitLab Advanced Search (Elastic Search) indexing?
- Unable to delete a folder made on a remote share (created using PowerShell)
- QLogic HBA network card init firmware fail
- Does Google CA accept IP addresses as SubjectAltNames and how can I go about this?
- Can PHP complete handshake if hostname and CN cert do not match?
- Wildcard in (not as) a hostname in a certificate's SAN
- How to properly obtain SAN using Perl library Crypt::OpenSSL::X509
- FC-SAN: How can I know there is new disk adding to the SAN?
- Not able to take a console on browser for HP StorageWorks 4/16 SAN Switch
- AuthenticateAsClient giving RemoteCertificateNameMismatch in ValidateServerCertificate when San not matched with CN
- How does NFS client know changes made on server by other client?
- Error while trying to connect to HP MSA 2050 SAN over SSH
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Docker isn't a hypervisor, containers aren't VMs, and "attaching devices" to a container doesn't necessarily make sense -- a container is just a process running on your host.
You can expose a device node in
/devto a container using the--deviceflag todocker run, although exposing a block device inside a container usually leads to other complications (e.g., a normal container can't mount filesystems, so you would need to run it with--privileged, which may or may not be acceptable form a security perspective depending on your environment).For storage, it is more common to mount devices on the host, and then expose those filesystems to container as Docker volumes (
-v /host/path:/container/path).