How to use custom apparmor profile for container with dockerode api using Nodejs

How to use custom apparmor profile for container with dockerode api using Nodejs

I was wondering how I can use apprmor profile for docker containers using dockerode (docker api) under Nodejs

Visit this project

I found something called “SecurityOpt”: [ ], In official documention of DockerApi

But still I haven’t got succeed to implement it Please anyone can help me how it can be possible to achieve the exact result using docker api which I usually get by running these command for applying apparmor profile See here

Go to Source
Author: Siddhant Gour