Exemple #1
0
        private async Task <string> CreateAndStartContainerAsync(Message message)
        {
            // Add here environment variables needed by your container, if any.
            var dictionary = new Dictionary <string, string>();

            dictionary.Add("EnvVarExample", "ValueExample");

            return(await service.CreateContainerAsync(config.ImageName, dictionary));
        }