Unable to get communication between two rootfull containers with podman

I have two nginx containers running. One is listening on port 80 the other 8080. Here is how I run them: sudo podman run –rm \ -t \ -p 8080:80 \ –publish-all \ –name nginx-two \ -v ./html2/:/usr/share/nginx/html \ -v ./html2/conf/default.conf:/etc/nginx/conf.d/default.conf \ -d nginx The second: sudo podman run –rm -t -p 80:80 –name nginx…

Details

TypeScript: What does {[key: string]: any} means as return type of a function?

I’m currently learning TypeScript and Angular. While reading about Custom validators I came across the following piece of code from https://angular.io/guide/form-validation. export function forbiddenNameValidator(nameRe: RegExp): ValidatorFn { return (control: AbstractControl): {[key: string]: any} | null => { const forbidden = nameRe.test(control.value); return forbidden ? {‘forbiddenName’: {value: control.value}} : null; }; } I don’t really understand…

Details